ci: log in to the container registry as fmartingr (FMG-5) #10

Merged
fmartingr merged 1 commit from agent/full-stack-developer/2eb2e7f9a55d into main 2026-09-08 18:54:47 +02:00

View file

@ -18,8 +18,12 @@ 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 ${{ github.actor }} --password-stdin
run: echo "${{ secrets.FORGEJO_TOKEN }}" | docker login git.nakama.town -u fmartingr --password-stdin
- name: Run GoReleaser
run: goreleaser release --clean