aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2021-02-17 09:58:15 +0000
committerwaqas.ikram <waqas.ikram@est.tech>2021-02-17 09:58:17 +0000
commit53f7f1df9874cb3d084cfe5ecc1b33c619f5739b (patch)
tree2e0a63494993383987a8a8744fd40025bf43489b
parent538e4cefc767010885126373d41e62656c494383 (diff)
Adding push config and tag for docker image
Change-Id: I45f20bd18d0cdb06775e105d9e6cdc935aeefad3 Issue-ID: SO-3486 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
-rw-r--r--packages/docker/pom.xml9
1 files changed, 5 insertions, 4 deletions
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>