更新 '.drone.yml'

This commit is contained in:
rainerosion 2021-07-29 20:49:36 +08:00
parent ba170eb3d7
commit 88647f08a3

View File

@ -6,4 +6,20 @@ steps:
image: golang:alpine image: golang:alpine
pull: if-not-exists pull: if-not-exists
commands: commands:
- CGO_ENABLED=1 go build - GOPROXY=https://goproxy.cn CGO_ENABLED=1 go build
- name: gitea_release
image: plugins/gitea-release
pull: if-not-exists
settings:
api_key:
from_secret: gitea_token
base_url: https://git.rainss.cn
files:
- main
checksum:
- md5
- sha1
- sha256
when:
event: tag