summaryrefslogtreecommitdiffstats
path: root/auth/docker/dpush.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/docker/dpush.sh')
-rw-r--r--auth/docker/dpush.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/auth/docker/dpush.sh b/auth/docker/dpush.sh
index 55d2d6f0..f6ea970a 100644
--- a/auth/docker/dpush.sh
+++ b/auth/docker/dpush.sh
@@ -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}