summaryrefslogtreecommitdiffstats
path: root/deployment/docker/pom.xml
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-08 11:28:58 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-08 16:43:15 +0530
commit1fb14913426397d0313890b357ad5bf6ad11f3c7 (patch)
tree010ffac7586c3c99aaa1806c2e12acea5c2ea38b /deployment/docker/pom.xml
parent635d08899576ff360a7ca52d6b2f17076670b6fc (diff)
Base docker image to openjdk:8-jre-slim
CLI-14 Change-Id: I1347393ebdeb643806f6fc7c78c9df12e97fd21f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/docker/pom.xml')
-rw-r--r--deployment/docker/pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/deployment/docker/pom.xml b/deployment/docker/pom.xml
index e0056ecb..e18d6244 100644
--- a/deployment/docker/pom.xml
+++ b/deployment/docker/pom.xml
@@ -99,6 +99,19 @@
</configuration>
</execution>
<execution>
+ <id>tag-image-project-version</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>tag</goal>
+ </goals>
+ <configuration>
+ <image>${docker.image.name}</image>
+ <newName>${docker.push.registry}/${docker.image.name}:${project.version}</newName>
+ <pushImage>${skip.docker.push}</pushImage>
+ <skipDockerTag>${skip.docker.tag}</skipDockerTag>
+ </configuration>
+ </execution>
+ <execution>
<id>tag-image-latest-version</id>
<phase>deploy</phase>
<goals>