fix(ci): rename registry variable to avoid reserved GITEA_ prefix
Publish Docker image / build-and-push (push) Failing after 9s

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.
This commit is contained in:
2026-07-30 11:15:16 +02:00
parent 7bd8d543b1
commit b3f59780f2
+3 -3
View File
@@ -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 }}