test-5
continuous-integration/drone/push Build is passing Details

This commit is contained in:
user-penguin 2024-05-19 17:47:51 +07:00
parent 64eb0569ae
commit 4f6af5cae9
1 changed files with 4 additions and 1 deletions

View File

@ -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