feat(编译参数): 调整编译参数
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
xiaoqidun 2023-10-06 02:26:17 +08:00
parent d7b165ce82
commit e91e2d56e4

@ -8,7 +8,7 @@ steps:
pull: if-not-exists pull: if-not-exists
image: ccr.ccs.tencentyun.com/xiaoqidun/goenv image: ccr.ccs.tencentyun.com/xiaoqidun/goenv
commands: commands:
- CGO_ENABLED=0 go build -o gocos -trimpath -ldflags '-s -w' gocos.go - CGO_ENABLED=0 go build -o gocos -trimpath -ldflags "-s -w -buildid=" gocos.go
- name: docker-cn - name: docker-cn
pull: if-not-exists pull: if-not-exists
image: plugins/docker image: plugins/docker