aboutsummaryrefslogtreecommitdiffstats
path: root/script-dmaapbc-docker-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'script-dmaapbc-docker-build.sh')
-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}"