From e7af8944a69bbf8b8b9d2f8517d3e189969cca9d Mon Sep 17 00:00:00 2001 From: Jim Basso Date: Thu, 11 Jun 2026 14:24:19 -0500 Subject: [PATCH] CI: authenticate to registry with a PAT secret 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 --- .gitea/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index dab27cb..54d1db8 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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