aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLusheng <lji@research.att.com>2017-03-23 19:10:25 +0000
committerLusheng <lji@research.att.com>2017-03-23 19:10:25 +0000
commita401c0d3bf59e7846aca6b40fe87c0d01b11b283 (patch)
tree8d6e223224966bb07d90d9fb2cf2bfc50cde4214
parent39a4d1f819fc79be8a14681f954c815fca1b548f (diff)
fix in script
Change-Id: I0d8c582253780a1c7ed6ede554ae9270028b806e Signed-off-by: Lusheng <lji@research.att.com>
-rwxr-xr-xscript-dmaapbc-docker-build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/script-dmaapbc-docker-build.sh b/script-dmaapbc-docker-build.sh
index a9318ba..fdb013f 100755
--- a/script-dmaapbc-docker-build.sh
+++ b/script-dmaapbc-docker-build.sh
@@ -41,9 +41,9 @@ IMAGE='openecomp/dcae-dmaapbc'
VERSION="${VERSION//[^0-9.]/}"
VERSION2=$(echo "$VERSION" | cut -f1-2 -d'.')
-TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
+TIMESTAMP="-$(date +%C%y%m%dT%H%M%S)"
LFQI="${IMAGE}:${VERSION}${TIMESTAMP}"
-BUILD_PATH="${WORKSPACE}/target/stage"
+BUILD_PATH="${WORKSPACE}"
# build a docker image
docker build --rm -f "${WORKSPACE}"/Dockerfile -t "${LFQI}" "${BUILD_PATH}"