From a520a65f1b1614fbd77bb2750bfadf27d4e6aded Mon Sep 17 00:00:00 2001 From: Savannah Savings Date: Sun, 24 May 2026 20:38:35 +0000 Subject: [PATCH] fix(ci): use GITEA_TOKEN secret for docker login The github.token (automatic workflow token) in Gitea Actions doesn't inherit packages:write permission for container registry. Use the GITEA_TOKEN secret instead with direct docker login. Ref: CAR-973, CAR-1009 --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a453141..d563893 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: - name: Log in to Gitea Container Registry run: | - echo "${{ github.token }}" | docker login ${{ env.REGISTRY }} --username "${{ github.actor }}" --password-stdin + echo "${{ secrets.GITEA_TOKEN }}" | docker login ${{ env.REGISTRY }} --username "cs_betty" --password-stdin - name: Extract metadata id: meta