ci: log in to the container registry as fmartingr (FMG-5) #10
1 changed files with 5 additions and 1 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue