Update .drone.yml
This commit is contained in:
parent
36f396de6e
commit
c44ea83b6c
@ -11,6 +11,8 @@ volumes:
|
|||||||
- name: docker-daemon
|
- name: docker-daemon
|
||||||
host:
|
host:
|
||||||
path: /etc/docker/daemon.json
|
path: /etc/docker/daemon.json
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: clone-and-configure
|
- name: clone-and-configure
|
||||||
image: testhub.szjixun.cn:9043/public/plugins/git
|
image: testhub.szjixun.cn:9043/public/plugins/git
|
||||||
@ -54,6 +56,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
|
||||||
|
Loading…
Reference in New Issue
Block a user