fix(ci): auth to registry with a PAT instead of the built-in token
Publish Docker image / build-and-push (push) Failing after 11s

The auto-injected GITHUB_TOKEN isn't authorized against this Gitea
instance's container registry (401 unauthorized), so use a repo
secret backed by a personal access token with package scope instead.
This commit is contained in:
2026-07-30 11:16:33 +02:00
parent b3f59780f2
commit b5b6898e47
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
with:
registry: ${{ vars.REGISTRY_HOST }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6