try fix
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-05-21 04:59:42 +07:00
parent fc04dcc259
commit 2ef4c079e1
3 changed files with 5 additions and 9 deletions
+2 -5
View File
@@ -6,10 +6,7 @@ steps:
- name: build
image: golang
commands:
- set GOOS=linux
- set GOARCH=amd64
- set CGO_ENABLED=0
- go build -o cake_crm cmd/cake_crm/main.go
- GOOS=linux GOARCH=amd64 go build -o cake_crm cmd/cake_crm/main.go
- name: test
image: golang
@@ -49,7 +46,7 @@ steps:
command_timeout: 10s
script:
- cd deploys/cake_crm
- docker-compose up -d --force-recreate
- docker-compose up -d --build --force-recreate
trigger:
event: