fixed snapshot repo location 03/903/2
authorlj1412 <lji@research.att.com>
Mon, 20 Feb 2017 04:13:48 +0000 (04:13 +0000)
committerlj1412 <lji@research.att.com>
Mon, 20 Feb 2017 12:02:29 +0000 (12:02 +0000)
Change-Id: I406145ca88684e4b6edbb0e8c32b51993a38cddc
Signed-off-by: lj1412 <lji@research.att.com>
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}