From 0e6f4ad8d0ffdb7bd92050c2029d9f37bd31d74f Mon Sep 17 00:00:00 2001 From: butterrobot Date: Tue, 8 Sep 2026 17:53:32 +0000 Subject: [PATCH] Revert "ci: log in to the container registry as fmartingr (FMG-5)" This reverts commit d1d3f4d, restoring the registry login to `-u ${{ github.actor }}` and dropping the accompanying comment. Reverted at the request of the issue owner on FMG-5. The release job is therefore back to the state described in that issue: a tag pushed by butterrobot logs in as butterrobot, and the image push is expected to fail with `401 Unauthorized: reqPackageAccess`. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/release.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.52.0