aboutsummaryrefslogtreecommitdiffstats
path: root/standalone
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-05-03 19:09:44 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-05-03 19:10:29 +0800
commit07f6b9f3116a8ff71980848d7239c7d98cad2461 (patch)
tree8af12575dd817e58e30a0546fa609cf1f73a19bc /standalone
parent8af200280c3f66d8b9e0688629247e95c0142dec (diff)
Fix docker image tag for usecase-ui-server
Change-Id: I3db54e5bac11597d91c3137f59e6d6d7c95abdb9 Issue-ID: USECASEUI-111 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'standalone')
-rw-r--r--standalone/pom.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/standalone/pom.xml b/standalone/pom.xml
index 852a8b80..1e2733bc 100644
--- a/standalone/pom.xml
+++ b/standalone/pom.xml
@@ -33,6 +33,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>
@@ -206,7 +207,9 @@
<dockerFileDir>${basedir}/target/version/</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>