更新 '.drone.yml'
This commit is contained in:
parent
717185ad3d
commit
9a837e88cd
@ -6,6 +6,7 @@ steps:
|
|||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
commands:
|
commands:
|
||||||
|
- 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
|
||||||
- GOPROXY=https://goproxy.cn CGO_ENABLED=1 go build
|
- GOPROXY=https://goproxy.cn CGO_ENABLED=1 go build
|
||||||
- ls -lh
|
- ls -lh
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user