Adding push config and tag for docker image
Change-Id: I45f20bd18d0cdb06775e105d9e6cdc935aeefad3
Issue-ID: SO-3486
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml
index 9ddeefc..285c9f6 100644
--- a/packages/docker/pom.xml
+++ b/packages/docker/pom.xml
@@ -1,5 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.onap.so.adapters.so-etsi-sol003-adapter</groupId>
@@ -59,7 +59,6 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.31.0</version>
<configuration combine.self="override">
<verbose>true</verbose>
<apiVersion>1.23</apiVersion>
@@ -79,7 +78,7 @@
<cleanup>try</cleanup>
<dockerFile>docker-files/Dockerfile.so-app</dockerFile>
<tags>
- <!--tag>${project.version}</tag-->
+ <tag>${project.version}</tag>
<tag>${project.version}-${maven.build.timestamp}</tag>
<tag>${project.docker.latesttag.version}</tag>
</tags>
@@ -130,6 +129,9 @@
<goal>build</goal>
<goal>push</goal>
</goals>
+ <configuration>
+ <image>${docker.image.prefix}/vnfm-adapter</image>
+ </configuration>
</execution>
</executions>
</plugin>
@@ -137,7 +139,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
- <version>2.8</version>
<configuration>
<skip>true</skip>
</configuration>