feat(发布镜像): 调整发布镜像
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-09-22 09:46:02 +08:00
parent a36fd1d626
commit 067622650a
4 changed files with 7 additions and 6 deletions

View File

@ -5,14 +5,15 @@ name: default
steps:
- name: build
pull: if-not-exists
image: xiaoqidun/goenv
image: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
commands:
- CGO_ENABLED=0 go build -o gocos -trimpath -ldflags '-s -w' gocos.go
- name: docker
pull: if-not-exists
image: plugins/docker
settings:
repo: xiaoqidun/gocos
repo: hkccr.ccs.tencentyun.com/xiaoqidun/gocos
registry: hkccr.ccs.tencentyun.com
username:
from_secret: docker_username
password: