summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhrumin Desai <dd303q@att.com>2020-09-28 09:02:07 -0400
committerDhrumin Desai <dd303q@att.com>2020-09-28 09:04:59 -0400
commit7fba7c3befe9d6e5dd026689720c662dc6b4deb8 (patch)
treee5f090a1facf7c0e15891b99a2cdb9d9ffee0f6e
parentec223db140bfd2341e35739263adfa73d25b65be (diff)
updating docker repository to onap nexus
Issue-ID: DCAEGEN2-2317 Change-Id: I2f33980622877b2194d38251ee6ad318d5c3f864 Signed-off-by: Dhrumin Desai <dd303q@att.com>
-rw-r--r--mod2/catalog-service/pom.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/mod2/catalog-service/pom.xml b/mod2/catalog-service/pom.xml
index a9f8d7f..37aaf46 100644
--- a/mod2/catalog-service/pom.xml
+++ b/mod2/catalog-service/pom.xml
@@ -38,6 +38,7 @@
<maven.compiler.target>${java.version}</maven.compiler.target>
<spring-boot.version>2.2.9.RELEASE</spring-boot.version>
<dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version>
+ <docker.image.name>${project.groupId}.${project.artifactId}</docker.image.name>
</properties>
<dependencies>
<dependency>
@@ -138,7 +139,7 @@
<version>${dockerfile-maven-plugin.version}</version>
<configuration>
<contextDirectory>${project.basedir}</contextDirectory>
- <repository>onap/${project.groupId}.${project.artifactId}</repository>
+ <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
<buildArgs>
<PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
<FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
@@ -160,7 +161,7 @@
<goal>push</goal>
</goals>
<configuration>
- <repository>onap/${project.groupId}.${project.artifactId}</repository>
+ <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
<tag>latest</tag>
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
</configuration>
@@ -173,7 +174,7 @@
<goal>push</goal>
</goals>
<configuration>
- <repository>onap/${project.groupId}.${project.artifactId}</repository>
+ <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
<tag>${project.version}</tag>
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
</configuration>