summaryrefslogtreecommitdiffstats
path: root/distribution
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-05-03 19:12:06 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-05-03 19:12:32 +0800
commitf189d75940506c6509f6684ad3b52f8aebab22d6 (patch)
tree157973f38ed02db7048b4f3151e8ed73806947aa /distribution
parent45e1f95014548aa05120d2c304b0b920b46e79e3 (diff)
Fix docker image tag for usecase-ui
Change-Id: I40633060be6e6ce53786a82ecb523813d6627e22 Issue-ID: USECASEUI-111 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'distribution')
-rw-r--r--distribution/pom.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 710626b9..3a3fc0dc 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -35,6 +35,7 @@
<linux64outputdir>target/assembly/${linux64id}</linux64outputdir>
<win64outputdir>target/assembly/${win64id}</win64outputdir>
<version.output>target/version</version.output>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
</properties>
<build>
@@ -268,7 +269,9 @@
<dockerFileDir>${basedir}/${version.output}</dockerFileDir>
<dockerFile>${basedir}/target/version/Dockerfile</dockerFile>
<tags>
- <tag>${project.version}-STAGING-latest</tag>
+ <tag>${project.version}</tag>
+ <tag>${project.version}-${maven.build.timestamp}</tag>
+ <tag>${project.docker.latesttag.version}</tag>
</tags>
</build>
</image>