Artifacts to Bootstrap
[aaf/authz.git] / auth / docker / dpush.sh
index 5e9403d..f29b4c9 100644 (file)
@@ -3,11 +3,12 @@
 #
 # Pull in Variables from d.props
 . ./d.props
+DOCKER=${DOCKER:=docker}
 
 AAF_COMPONENTS="config agent core cass $(cat components) "
 
 for AAF_COMPONENT in ${AAF_COMPONENTS}; do
         # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
-        docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
+        $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
         # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
 done