diff --git a/.github/workflows/ci-maven.yml b/.github/workflows/ci-maven.yml index 93a97941..cf6254b8 100644 --- a/.github/workflows/ci-maven.yml +++ b/.github/workflows/ci-maven.yml @@ -66,7 +66,7 @@ jobs: - name: Publish container image to GitHub Container registry id: publish - run: DOCKER_USERNAME=${{ github.actor }} DOCKER_PASSWORD=${{ secrets.GITHUB_TOKEN }} mvn --batch-mode clean compile jib:build + run: REGISTRY=${{ env.REGISTRY }} DOCKER_USERNAME=${{ github.actor }} DOCKER_PASSWORD=${{ secrets.GITHUB_TOKEN }} mvn --batch-mode clean compile jib:build diff --git a/pom.xml b/pom.xml index 74305b75..0df1fcb3 100644 --- a/pom.xml +++ b/pom.xml @@ -455,7 +455,7 @@ 3.4.4 - dnsbelgium/mercator2 + ${env.REGISTRY}/mercator2 ${env.DOCKER_USERNAME}