From 8710dc4267300485119485499de613279bce0e7b Mon Sep 17 00:00:00 2001 From: Claudio David Gasparini Date: Mon, 16 Nov 2020 17:37:15 +0100 Subject: Provide profile for build and deploy docker By default profile will be disable Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini Change-Id: I4a605becf195b3f968d71a6ca1a0fd26e9c0a7be --- cps-parent/pom.xml | 67 +++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 643d2cc63..ea979b1b9 100644 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -27,6 +27,57 @@ ${project.version} + + + Docker + + false + + + + + + com.google.cloud.tools + jib-maven-plugin + ${jib-maven-plugin.version} + + + ${app} + USE_CURRENT_TIMESTAMP + + + ${base.image} + + + ${repository.name} + + ${tag.version} + + + + + + package + build + + dockerBuild + + + + deploy + buildAndPush + + build + + + + + + + + + + @@ -197,22 +248,6 @@ - - - package - build - - dockerBuild - - - - deploy - buildAndPush - - build - - - -- cgit 1.2.3-korg