From 64f5db14da1bb565c58c8d3e16b0fbfa60301166 Mon Sep 17 00:00:00 2001 From: rainerosion <1782832653@qq.com> Date: Fri, 30 Jul 2021 11:53:19 +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 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a65f722..a9f8743 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,7 @@ steps: - 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: gitea_release image: plugins/gitea-release pull: if-not-exists @@ -23,4 +24,15 @@ steps: checksum: - sha256 when: - event: tag \ No newline at end of file + event: tag + + - name: publish + image: plugins/docker:latest + pull: if-not-exists + settings: + username: + from_secret: hub_username + password: + from_secret: hub_password + repo: rainerosion/e5subbot + tags: latest \ No newline at end of file