Merge "fixed snapshot repo location"
authorAnil Shashikumar Belur <abelur@linuxfoundation.org>
Mon, 20 Feb 2017 13:33:41 +0000 (13:33 +0000)
committerGerrit Code Review <gerrit@openecomp.org>
Mon, 20 Feb 2017 13:33:41 +0000 (13:33 +0000)
jjb/dcae/script-dmaapbc-merge.sh

index a80190f..dd35091 100755 (executable)
@@ -8,13 +8,13 @@
 # !!! make sure the yaml file include docker-login as a builder before calling
 # this script
 
-IMAGE="dcae_dmaapbc"
-TAG="1.0.0"
+IMAGE='dcae_dmaapbc'
+TAG='1.0.0'
 LFQI="${IMAGE}:${TAG}"
 BUILD_PATH="${WORKSPACE}"
 
 # build a docker image
-docker build --rm -f ${WORKSPACE}/Dockerfile -t ${LFQI} ${BUILD_PATH}
+docker build --rm -f "${WORKSPACE}"/Dockerfile -t "${LFQI}" "${BUILD_PATH}"
 
 
 #
@@ -23,7 +23,7 @@ docker build --rm -f ${WORKSPACE}/Dockerfile -t ${LFQI} ${BUILD_PATH}
 # io registry  DOCKER_REPOSITORIES="nexus3.openecomp.org:10001 \
 # release registry                   nexus3.openecomp.org:10002 \
 # snapshot registry                   nexus3.openecomp.org:10003"
-REPO="nexus3.openecomp.org:10002"
+REPO='nexus3.openecomp.org:10003'
 RFQI="${REPO}/${LFQI}"
 docker tag ${LFQI} ${RFQI}
 docker push ${RFQI}