From 3217a757cd3fb63e2c2ea8cf3b84bc6ceb7b98c2 Mon Sep 17 00:00:00 2001 From: Maarten Bosteels Date: Thu, 21 Nov 2024 14:40:14 +0100 Subject: [PATCH] push to Github Container Registry --- .github/workflows/ci-maven.yml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}