Skip to content

Commit ee5d737

Browse files
committed
ci: add tag on release
1 parent c215204 commit ee5d737

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ jobs:
6161
registry: ghcr.io
6262
username: ${{ github.repository_owner }}
6363
password: ${{ secrets.GITHUB_TOKEN }}
64+
- name: Create Tag
65+
if: ${{ github.event.inputs.tag != '' }}
66+
run: |
67+
git tag ${{ github.event.inputs.tag }}
68+
git push origin ${{ github.event.inputs.tag }}
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6471
- name: Run GoReleaser
6572
uses: goreleaser/goreleaser-action@v6
6673
with:

0 commit comments

Comments
 (0)