aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorQuoc Nghia Nguyen <quocnghia.nguyen@orange.com>2018-04-11 17:41:16 +0200
committerQuoc Nghia Nguyen <quocnghia.nguyen@orange.com>2018-04-11 17:49:20 +0200
commit3b0d0e86c93cf30a7954686bf68d26c57fdd3ebb (patch)
tree3689632371f15b46f5f34b9be48cbb8878a55f55 /pom.xml
parent4a51c360a2e58f81976d7690a82d0b742c0df5da (diff)
Fix docker image publish issue
- Dockerfile: parameterized artifact's filename - pom.xml: added arguments to docker build; update docker-maven-plugin to latest version Change-Id: Ide871738d0024ffe379ce56ead2183619981cfcf Issue-ID: EXTAPI-49 Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index c96aaf9..4043ac7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -313,7 +313,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.19.1</version>
+ <version>0.25.0</version>
<configuration>
<verbose>true</verbose>
<apiVersion>1.23</apiVersion>
@@ -330,6 +330,9 @@
<tag>${docker.latest.tag}</tag>
</tags>
<dockerFileDir>${project.basedir}</dockerFileDir>
+ <args>
+ <PKG_FILENAME>${project.build.finalName}.${project.packaging}</PKG_FILENAME>
+ </args>
</build>
</image>
</images>
@@ -342,8 +345,7 @@
<goal>remove</goal>
</goals>
<configuration>
- <removeAll>true</removeAll>
- <image>nbi</image>
+ <removeMode>all</removeMode>
</configuration>
</execution>
<execution>