From 7c23c26b01aef3f8891388bb3f663519993a2662 Mon Sep 17 00:00:00 2001 From: Aaron Zielstorff Date: Wed, 19 Jun 2024 15:32:39 +0200 Subject: [PATCH 1/2] Fixes maven docker plugin config --- pom.xml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/pom.xml b/pom.xml index 40d84d01d..d97ca1d6a 100644 --- a/pom.xml +++ b/pom.xml @@ -257,6 +257,7 @@ ${docker.namespace}/${docker.image.name}:${docker.image.tag} + docker.io ${project.basedir} @@ -284,36 +285,13 @@ true - - build-docker - package - - build - - push-docker - deploy + package build push - - - - - - - ${docker.target.platforms} - - - ${docker.provenance} - - - - - - From 80613b5dfd2fce4fc88f5a0d520e6ba9c75b6f11 Mon Sep 17 00:00:00 2001 From: Aaron Zielstorff Date: Wed, 19 Jun 2024 16:20:55 +0200 Subject: [PATCH 2/2] Creates a pom profile for pushing docker images Co-authored-by: FriedJannik --- pom.xml | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index d97ca1d6a..590f04e18 100644 --- a/pom.xml +++ b/pom.xml @@ -276,8 +276,8 @@ - custom - basyx-java-server-sdk + custom + basyx-java-server-sdk @@ -286,12 +286,31 @@ - push-docker + build-docker package + + build + + + + push-docker + deploy build push + + + + + + + ${docker.target.platforms} + + + + + @@ -1221,5 +1240,26 @@ + + docker-push + + + + io.fabric8 + docker-maven-plugin + + + push-docker + package + + build + push + + + + + + +