Skip to content

Commit

Permalink
ci: add tag on release
Browse files Browse the repository at this point in the history
  • Loading branch information
jahvon committed Dec 27, 2024
1 parent c215204 commit ee5d737
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Create Tag
if: ${{ github.event.inputs.tag != '' }}
run: |
git tag ${{ github.event.inputs.tag }}
git push origin ${{ github.event.inputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down

0 comments on commit ee5d737

Please sign in to comment.