From 88647f08a3111feb62d994ae6ef0e35337a99c75 Mon Sep 17 00:00:00 2001 From: rainerosion <1782832653@qq.com> Date: Thu, 29 Jul 2021 20:49:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e1a9b14..33b985c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,4 +6,20 @@ steps: image: golang:alpine pull: if-not-exists 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 \ No newline at end of file