From db407a17059092f09c799ae3df0b810ffef37928 Mon Sep 17 00:00:00 2001 From: rlabadmin Date: Thu, 23 Apr 2026 14:35:29 +0200 Subject: [PATCH] Switch registry login back to REGISTRY_USER/REGISTRY_PASSWORD Gitea's built-in GITHUB_TOKEN was not authorized to push to the container registry on this instance. Use an explicit PAT stored in repo secrets instead. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitea/workflows/flow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/flow.yml b/.gitea/workflows/flow.yml index a7932ab..bc28697 100644 --- a/.gitea/workflows/flow.yml +++ b/.gitea/workflows/flow.yml @@ -42,9 +42,9 @@ jobs: - name: Log in to Gitea registry run: | - echo "${{ secrets.GITHUB_TOKEN }}" | \ + echo "${{ secrets.REGISTRY_PASSWORD }}" | \ docker login ${{ env.REGISTRY }} \ - --username "${{ github.actor }}" \ + --username "${{ secrets.REGISTRY_USER }}" \ --password-stdin - name: Build image