Skip to content

Commit

Permalink
push to Github Container Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarten Bosteels committed Nov 21, 2024
1 parent 6043276 commit 3217a75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@
<version>3.4.4</version>
<configuration>
<to>
<image>dnsbelgium/mercator2</image>
<image>${env.REGISTRY}/mercator2</image>
<auth>
<!--suppress MavenModelInspection -->
<username>${env.DOCKER_USERNAME}</username>
Expand Down

0 comments on commit 3217a75

Please sign in to comment.