Update .drone.yml

This commit is contained in:
戴育兵 2025-10-17 14:04:09 +08:00
parent 36f396de6e
commit c44ea83b6c

View File

@ -11,6 +11,8 @@ volumes:
- name: docker-daemon
host:
path: /etc/docker/daemon.json
clone:
disable: true
steps:
- name: clone-and-configure
image: testhub.szjixun.cn:9043/public/plugins/git
@ -54,6 +56,7 @@ steps:
path: /go/pkg
commands:
- cp DockerfileTest Dockerfile
- go mod tidy
- CGO_ENABLED=0 go build -ldflags "-s -w" -o chain-dci-server ./cmd
- name: publish
image: testhub.szjixun.cn:9043/public/plugins/docker