diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7e6fe64..dd05bc3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: