From b3f59780f23f3983c14a7e136cbcc8b9d6f853a5 Mon Sep 17 00:00:00 2001 From: jeanGaston Date: Thu, 30 Jul 2026 11:15:16 +0200 Subject: [PATCH] fix(ci): rename registry variable to avoid reserved GITEA_ prefix Gitea rejects variable/secret names starting with GITEA_ or GITHUB_ (reserved for system-injected values), which is why GITEA_REGISTRY couldn't be created in repo settings. --- .gitea/workflows/docker-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/docker-publish.yml b/.gitea/workflows/docker-publish.yml index 0656eaa..d5f61b7 100644 --- a/.gitea/workflows/docker-publish.yml +++ b/.gitea/workflows/docker-publish.yml @@ -20,7 +20,7 @@ jobs: - name: Log in to Gitea container registry uses: docker/login-action@v3 with: - registry: ${{ vars.GITEA_REGISTRY }} + registry: ${{ vars.REGISTRY_HOST }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -30,5 +30,5 @@ jobs: context: . push: true tags: | - ${{ vars.GITEA_REGISTRY }}/${{ github.repository }}:latest - ${{ vars.GITEA_REGISTRY }}/${{ github.repository }}:${{ github.sha }} + ${{ vars.REGISTRY_HOST }}/${{ github.repository }}:latest + ${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}