更新 '.drone.yml'

This commit is contained in:
rainerosion 2021-07-30 11:34:27 +08:00
parent c23a09663d
commit 508059a8c2

View File

@ -5,10 +5,12 @@ steps:
- name: gobuild
image: golang:alpine
pull: if-not-exists
environment:
- GOPROXY=https://goproxy.cn
commands:
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
- apk update && apk add build-base
- GOPROXY=https://goproxy.cn CGO_ENABLED=1 go build
- CGO_ENABLED=1 go build
- name: gitea_release
image: plugins/gitea-release
pull: if-not-exists