From 38ba6fe4f57a0f4539db8ad769a696db5f2c271b Mon Sep 17 00:00:00 2001 From: Alexandru-Eusebiu Epure Date: Wed, 11 Apr 2018 11:43:29 +0300 Subject: [PATCH] REPO-3439: added fabric8 Pmaster profile for pushing latest tag on dockerhub and quai. --- docker-alfresco/pom.xml | 59 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 7 deletions(-) diff --git a/docker-alfresco/pom.xml b/docker-alfresco/pom.xml index e6a6fb1221..6caaf8b961 100644 --- a/docker-alfresco/pom.xml +++ b/docker-alfresco/pom.xml @@ -14,7 +14,6 @@ alfresco/alfresco-content-repository-community quay.io - registry.hub.docker.com @@ -177,8 +176,7 @@ - ${image.name}:${image.tag} - ${image.registry} + ${image.name} ${project.basedir}/ @@ -220,6 +218,57 @@ io.fabric8 fabric8-maven-plugin ${dependency.fabric8.version} + + + + ${image.name}:${image.tag} + ${image.registry} + + ${project.basedir}/ + + + + + + + build-push-image + install + + build + push + + + + + + + + + + master + + + + io.fabric8 + fabric8-maven-plugin + ${dependency.fabric8.version} + + + + ${image.name} + ${image.registry} + + ${project.basedir}/ + + + + ${image.name} + + ${project.basedir}/ + + + + build-push-image @@ -252,15 +301,12 @@ ${project.basedir}/ - @@ -277,7 +323,6 @@ -