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