更新 '.drone.yml'
This commit is contained in:
parent
64f5db14da
commit
9666147f36
@ -11,7 +11,7 @@ steps:
|
|||||||
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
- apk update && apk add build-base
|
- apk update && apk add build-base
|
||||||
- CGO_ENABLED=1 go build
|
- CGO_ENABLED=1 go build
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
@ -25,7 +25,7 @@ steps:
|
|||||||
- sha256
|
- sha256
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/docker:latest
|
image: plugins/docker:latest
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user