mirror of
https://github.com/xiaoqidun/gocos.git
synced 2025-04-04 20:17:53 +08:00
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user