From 69f43f2532106b9d2d4c64fabbf4ea092e4dbf4a Mon Sep 17 00:00:00 2001 From: Piotr Jaszczyk Date: Mon, 25 Jun 2018 09:59:01 +0200 Subject: Fixing docker push form fabric8io mvn plugin Change-Id: I40ea95c162067f9d099e578fb236c5877562041b Signed-off-by: Piotr Jaszczyk Issue-ID: DCAEGEN2-601 --- .gitlab-ci.yml | 2 +- pom.xml | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54bbacf2..9c22c64a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,5 +22,5 @@ publish: - master script: - docker login $DOCKER_REPO_ADDR -u $DOCKER_REPO_USER -p $DOCKER_REPO_PASS - - mvn -e -DskipTests -DskipAnalysis -Ddocker.registry="$DOCKER_REPO_ADDR" deploy + - mvn -e -DskipTests -DskipAnalysis -Ddocker-image.registry="$DOCKER_REPO_ADDR" deploy - "curl -X POST -F token=$INTEGRATION_TESTS_TRIGGER_TOKEN -F ref=master https://gitlabe1.ext.net.nokia.com/api/v4/projects/33403/trigger/pipeline" diff --git a/pom.xml b/pom.xml index adc53a70..026afec8 100644 --- a/pom.xml +++ b/pom.xml @@ -70,10 +70,13 @@ false true - true - ves-hv-collector/${project.artifactId} + + nexus3.onap.org:10003 + nexus3.onap.org:10002 + ${onap.nexus.dockerregistry.daily} onap + ves-hv-collector/${project.artifactId} @@ -400,7 +403,7 @@ ${project.artifactId} - ${docker-image.namespace}/${docker-image.name} + ${docker-image.registry}/${docker-image.namespace}/${docker-image.name} ${project.basedir} -- cgit 1.2.3-korg