CI: authenticate to registry with a PAT secret
Build & Push Docker image / test (push) Successful in 39s
Build & Push Docker image / docker (push) Failing after 54s

The auto-provided GITEA_TOKEN was rejected by the container registry
(unauthorized). Use github.actor + a REGISTRY_TOKEN PAT secret for docker login.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Jim Basso
2026-06-11 14:24:19 -05:00
co-authored by Claude Opus 4.8
parent b42799df42
commit e7af8944a6
+2 -2
View File
@@ -51,8 +51,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ${{ steps.meta.outputs.registry }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6