From 86cd77028c4baf3dc6d13ae6699d38f7b4484650 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sat, 11 Jul 2026 20:30:32 +0200 Subject: [PATCH] Use dedicated PAT for registry login in Gitea Actions workflow The built-in actions token lacks package registry write scope, causing docker login to fail with "unauthorized". A PAT with write:package scope must be added as the REGISTRY_TOKEN secret. Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 3de488a..0646e81 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -23,7 +23,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ gitea.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push Backend uses: docker/build-push-action@v5