diff --git a/.drone.yml b/.drone.yml index 31d7766..3104200 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,18 +5,15 @@ 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 - - CGO_ENABLED=1 go build - - - name: release + - 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 + - name: gitea_release image: plugins/gitea-release pull: if-not-exists settings: - api_key: + api_key: from_secret: gitea_token base_url: https://git.rainss.cn files: