Skip to content

Commit

Permalink
ci: Use goreleaser action for releases on new tags
Browse files Browse the repository at this point in the history
  • Loading branch information
prdnk committed Jan 6, 2025
1 parent 866468c commit 1915e06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/new-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 1915e06

Please sign in to comment.