The registry is not in the environment context, but in the variable context here

This commit is contained in:
Goulven Bourveau 2025-04-12 14:00:02 +02:00
parent 3f6a906412
commit 5caecac3cf

View file

@ -23,13 +23,13 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: ${{ env.REGISTRY }}/${{ github.repository }} images: ${{ vars.REGISTRY }}/${{ github.repository }}
- -
name: Login to DockerHub name: Login to DockerHub
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ vars.REGISTRY }}
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- -