aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-05-07 17:12:37 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-05-07 17:12:42 +0800
commit7581fd59efd1c02e57112476acb6e2feabc503d0 (patch)
tree30bf817804dbbca88821e9334f127f3c1fbd3fd1
parent07f6b9f3116a8ff71980848d7239c7d98cad2461 (diff)
fix docker image tag for usecase-ui
Change-Id: Iea3e616d95cdb41d56371af38cc6b8583e72bf1e Issue-ID: USECASEUI-111 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r--standalone/pom.xml6
-rw-r--r--version.properties2
2 files changed, 4 insertions, 4 deletions
diff --git a/standalone/pom.xml b/standalone/pom.xml
index 1e2733bc..498068cc 100644
--- a/standalone/pom.xml
+++ b/standalone/pom.xml
@@ -207,9 +207,9 @@
<dockerFileDir>${basedir}/target/version/</dockerFileDir>
<dockerFile>${basedir}/target/version/Dockerfile</dockerFile>
<tags>
- <tag>${project.version}</tag>
- <tag>${project.version}-${maven.build.timestamp}</tag>
- <tag>${project.docker.latesttag.version}</tag>
+ <tag>${project.version}-latest</tag>
+ <tag>${project.version}.split('-').[0]-STAGING-latest</tag>
+ <tag>${project.version}.split('-').[0]-STAGING-${maven.build.timestamp}</tag>
</tags>
</build>
</image>
diff --git a/version.properties b/version.properties
index 7f86aa15..55fbf441 100644
--- a/version.properties
+++ b/version.properties
@@ -4,7 +4,7 @@
major=1
minor=1
-patch=0
+patch=1
base_version=${major}.${minor}.${patch}