aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-11-16 12:02:02 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-11-16 12:02:19 +0800
commit980946d5e97974ebf5dc8eeaf10ed98f789fbe77 (patch)
tree2ff41decd4589f0945251590afc8567bdae8374c
parent567a23d19f3d0a116cc3b5e7014f506c692855e8 (diff)
add timestamp for stagging docker
Issue-Id: MSB-95 Change-Id: I72d713811a9aeb0816d8edb5365597453dd405f1 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
-rw-r--r--build4docker.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build4docker.sh b/build4docker.sh
index f112b5d..78205fe 100644
--- a/build4docker.sh
+++ b/build4docker.sh
@@ -30,6 +30,7 @@ DOCKER_IMAGE_NAME=kube2msb
DOCKER_LATEST_VERSION=latest
DOCKER_RELEASE_VERSION=1.0.0
DOCKER_REPOSITORY=nexus3.onap.org:10003
+TIMESTAMP=$(date +"%Y%m%dT%H%M%S")
rm -rf $RELEASE_DIR
mkdir $RELEASE_DIR -p