From 3a28e2d383ee17f812284c1bc52fa5d306201200 Mon Sep 17 00:00:00 2001 From: LUIS NOVO Date: Sat, 18 Oct 2025 13:38:08 -0300 Subject: [PATCH] fix: correct GHCR registry parameter in login step The registry parameter was referencing env.GHCR_REGISTRY which no longer exists after switching to hardcoded image names. This caused the login to default to Docker Hub instead of GHCR, resulting in authentication failures with GITHUB_TOKEN. Now explicitly uses 'ghcr.io' as the registry parameter. --- .github/workflows/build-and-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 1c378a4..0b2641f 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -70,7 +70,7 @@ jobs: - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: - registry: ${{ env.GHCR_REGISTRY }} + registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -147,7 +147,7 @@ jobs: - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: - registry: ${{ env.GHCR_REGISTRY }} + registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }}