更新 '.drone.yml'
This commit is contained in:
parent
ba170eb3d7
commit
88647f08a3
18
.drone.yml
18
.drone.yml
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user