From 4f6af5cae97607894154faee4b9e6826568f6734 Mon Sep 17 00:00:00 2001 From: user-penguin Date: Sun, 19 May 2024 17:47:51 +0700 Subject: [PATCH] test-5 --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3290343..16501d3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,7 +6,10 @@ steps: - name: build image: golang commands: - - go build -a -ldflags '-extldflags "-static"' -o cake_crm cmd/cake_crm/main.go GOOS=linux GOARCH=amd64 CGO_ENABLED=0 + - set GOOS=linux + - set GOARCH=amd64 + - set CGO_ENABLED=0 + - go build -a -ldflags '-extldflags "-static"' -o cake_crm cmd/cake_crm/main.go - name: test image: golang