mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 04:57:08 +00:00
ci: Use goreleaser action for releases on new tags
This commit is contained in:
parent
866468c002
commit
1915e06412
6
.github/workflows/new-tag.yml
vendored
6
.github/workflows/new-tag.yml
vendored
@ -38,7 +38,11 @@ jobs:
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Run GoReleaser
|
||||
run: make release
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
version: "~> v2"
|
||||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_RELEASER_TOKEN }}
|
||||
GITHUB_PERSONAL_AUTH_TOKEN: ${{ secrets.GH_RELEASER_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user