Add release tag

This commit is contained in:
Lunny Xiao 2021-07-04 18:03:45 +08:00
parent 60e128eb4d
commit 5fdfb87b37
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 18 additions and 0 deletions

View File

@ -347,3 +347,21 @@ steps:
image: golang:1.15
commands:
- make coverage
---
kind: pipeline
name: release-tag
trigger:
event:
- tag
depends_on:
- testing
steps:
- name: release-tag-gitea
pull: always
image: plugins/gitea-release:latest
settings:
base_url: https://gitea.com
title: '${DRONE_TAG} is released'
api_key:
from_secret: gitea_token