diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ba910d..3a765a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,12 @@ jobs: run: | go mod tidy go test -v ./... + - name: Docker Login (ghcr.io) + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GH_TAGGER_GORELEASER_DEPLOY_PAT }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: @@ -32,4 +38,4 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TAGGER_GORELEASER_DEPLOY_PAT }}