summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-05-07 18:01:39 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-05-07 18:01:44 +0800
commitf588e326b9c486ca2a8244e2791d7a1fd1896625 (patch)
tree040f126df3a8d7c930e3d8348606b9761fd5f49e
parentf189d75940506c6509f6684ad3b52f8aebab22d6 (diff)
fix docker image tag for usecase-ui
Change-Id: I55b6ca8bc7446f923110091f1d0a1fea6f9750b9 Issue-ID: USECASEUI-111 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r--distribution/pom.xml6
-rw-r--r--version.properties2
2 files changed, 4 insertions, 4 deletions
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 3a3fc0dc..11df1330 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -269,9 +269,9 @@
<dockerFileDir>${basedir}/${version.output}</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}