From e71ffa52494ba0dedc2b4a1c295b20e9806243d0 Mon Sep 17 00:00:00 2001 From: Edyta Krukowska Date: Mon, 15 Mar 2021 12:06:38 +0100 Subject: Update docker profile in pom.xml Issue-ID: INT-1869 Signed-off-by: Edyta Krukowska Change-Id: I7ba6cb05eb66cf05eb44f3b21ed47394902f7710 --- pom.xml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 097dbdd..c4f899e 100644 --- a/pom.xml +++ b/pom.xml @@ -58,6 +58,7 @@ 5.3.1 3.13.2 0.31.0 + true @@ -110,6 +111,11 @@ false + + linux + x86_64 + ${os.detected.name}-${os.detected.arch} + @@ -118,24 +124,38 @@ ${docker-maven-plugin.version} - build-image + docker-build-image + package build + + + + docker-push-image + deploy + push + ${skipDockerPush} + true + IfNotPresent + ${project.artifactId} ${onap.nexus.dockerregistry.daily}/${docker.image.name} + ${onap.nexus.dockerregistry.daily} ${project.basedir} ${project.basedir}/docker/Dockerfile + + ${project.version}-STAGE-${maven.build.timestamp}Z + - -- cgit 1.2.3-korg