Fix shs for REPO
[aaf/authz.git] / auth / docker / dpush.sh
index 55d2d6f..f6ea970 100644 (file)
@@ -4,12 +4,13 @@
 # Pull in Variables from d.props
 . ./d.props
 
-if ["$1" == ""]; then
-  AAF_COMPONENTS="config agent core `ls ../aaf_*HOT/bin | grep -v '\.'`"
+f [ "$1" == "" ]; then
+    AAF_COMPONENTS=$(cat components)
 else
-  AAF_COMPONENTS=$1
+    AAF_COMPONENTS="$@"
 fi
 
+
 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}