From 818d1337779bf496e55cee5505431baf8368c67a Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Tue, 24 Nov 2020 07:25:51 +0800 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index a72e606..7849981 100644 --- a/.drone.yml +++ b/.drone.yml @@ -96,8 +96,11 @@ platform: arch: amd64 trigger: - event: - - tag + ref: + include: + - refs/tags/* + exclude: + - refs/tags/latest steps: - name: build @@ -119,13 +122,13 @@ steps: - make build - name: gitea-release pull: always - image: jolheiser/drone-gitea-main:latest + image: plugins/gitea-release:1 environment: GOPROXY: https://goproxy.cn settings: - token: + api_key: from_secret: gitea_token - base: https://gitea.com + base_url: https://gitea.com files: - "tmpl" - "tmpl.exe"