diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e41b593..1e3ab84 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,12 +18,8 @@ jobs: with: go-version-file: go.mod - # Packages under git.nakama.town/fmartingr/ are writable only by the user - # fmartingr, so the username is fixed here: tags may be pushed by a bot - # account, and repo collaborator rights do not grant package write access. - # FORGEJO_TOKEN must therefore be a fmartingr token with write:package. - name: Login to container registry - run: echo "${{ secrets.FORGEJO_TOKEN }}" | docker login git.nakama.town -u fmartingr --password-stdin + run: echo "${{ secrets.FORGEJO_TOKEN }}" | docker login git.nakama.town -u ${{ github.actor }} --password-stdin - name: Run GoReleaser run: goreleaser release --clean