更新 '.drone.yml'
This commit is contained in:
parent
e30df5f691
commit
c139ab444d
12
.drone.yml
12
.drone.yml
@ -5,12 +5,12 @@ steps:
|
|||||||
- name: gobuild
|
- name: gobuild
|
||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
environment:
|
environment:
|
||||||
- GOPROXY=https://goproxy.cn
|
- GOPROXY=https://goproxy.cn
|
||||||
commands:
|
commands:
|
||||||
- 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: release
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user