summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build4docker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build4docker.sh b/build4docker.sh
index a67a76d..52e654f 100644
--- a/build4docker.sh
+++ b/build4docker.sh
@@ -30,7 +30,7 @@ DOCKER_IMAGE_NAME=msb_discovery
DOCKER_LATEST_VERSION=latest
DOCKER_RELEASE_VERSION=1.2.1
DOCKER_REPOSITORY=nexus3.onap.org:10003
-TIMESTAMP=$(date +"%Y%m%dT%H%M%S")
+TIMESTAMP=$(date +"%Y%m%dT%H%M%SZ")
rm -rf $RELEASE_DIR
mkdir $RELEASE_DIR -p
@@ -50,7 +50,7 @@ docker rmi ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_V
./build_docker_image.sh -n=${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME} -v=${DOCKER_LATEST_VERSION} -d=./docker
docker run -d --net=host --name ${DOCKER_RUN_NAME} ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_LATEST_VERSION}
-docker ps |grep ${DOCKER_RUN_NAME}
+docker ps |grep ${DOCKER_RUN_NAME}
echo "Pushing ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_LATEST_VERSION}"
docker push ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_LATEST_VERSION}