更新 '.drone.yml'
This commit is contained in:
parent
74859ac163
commit
64f5db14da
12
.drone.yml
12
.drone.yml
@ -11,6 +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
|
||||||
@ -24,3 +25,14 @@ steps:
|
|||||||
- sha256
|
- sha256
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/docker:latest
|
||||||
|
pull: if-not-exists
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: hub_username
|
||||||
|
password:
|
||||||
|
from_secret: hub_password
|
||||||
|
repo: rainerosion/e5subbot
|
||||||
|
tags: latest
|
||||||
Loading…
Reference in New Issue
Block a user