feat: auto-release abra with goreleaser when a tag is pushed

This commit is contained in:
2021-09-06 14:10:08 +02:00
parent 8aaedee39e
commit bb8124030e
3 changed files with 67 additions and 4 deletions

View File

@ -42,6 +42,31 @@ steps:
when:
status:
- failure
trigger:
branch:
- main
- name: fetch
image: docker:git
commands:
- git fetch --tags
depends_on:
- make check
- make build
- make test
- name: release
image: golang:1.16
environment:
GITEA_TOKEN:
from_secret: gitea_token
volumes:
- name: deps
path: /go
commands:
- curl -sL https://git.io/goreleaser | bash
depends_on:
- fetch
when:
event: tag
volumes:
- name: deps
temp: {}