Update .drone.yml
This commit is contained in:
parent
36f396de6e
commit
c44ea83b6c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user