更新 '.drone.yml'

This commit is contained in:
rainerosion 2021-07-30 11:53:19 +08:00
parent 74859ac163
commit 64f5db14da

View File

@ -11,6 +11,7 @@ steps:
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
- apk update && apk add build-base
- CGO_ENABLED=1 go build
- name: gitea_release
image: plugins/gitea-release
pull: if-not-exists
@ -24,3 +25,14 @@ steps:
- sha256
when:
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