Update .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
戴育兵 2024-12-12 13:18:09 +08:00
parent b93f68177e
commit d13ca6fe3e

View File

@ -34,6 +34,7 @@ steps:
path: /go/pkg path: /go/pkg
commands: commands:
- cp DockerfileTest Dockerfile - cp DockerfileTest Dockerfile
- go mod tidy
- CGO_ENABLED=0 go build -ldflags "-s -w" -o chain-dci-server ./cmd - CGO_ENABLED=0 go build -ldflags "-s -w" -o chain-dci-server ./cmd
- name: publish - name: publish
image: testhub.szjixun.cn:9043/public/plugins/docker image: testhub.szjixun.cn:9043/public/plugins/docker