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.
This commit is contained in:
LUIS NOVO 2025-10-18 13:38:08 -03:00
parent 21181aa0be
commit 3a28e2d383

View file

@ -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 }}