summaryrefslogtreecommitdiffstats
path: root/auth/docker/dpush.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-08-16 17:22:45 -0500
committerInstrumental <jonathan.gathman@att.com>2018-08-16 17:22:51 -0500
commite44d2f770f28c3290863e509cb2406dcb67bd686 (patch)
treefecc9931d3c2299b23d9b6c921c7b8dcd3e081d8 /auth/docker/dpush.sh
parente92a354be569d7be3d6e11ab11e32bd78ff9227d (diff)
Fix shs for REPO
Issue-ID: AAF-419 Change-Id: I2cec912c935a28c818ad4358cd236c153de54c30 Signed-off-by: Instrumental <jonathan.gathman@att.com>
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}