From e44d2f770f28c3290863e509cb2406dcb67bd686 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 16 Aug 2018 17:22:45 -0500 Subject: Fix shs for REPO Issue-ID: AAF-419 Change-Id: I2cec912c935a28c818ad4358cd236c153de54c30 Signed-off-by: Instrumental --- auth/docker/dpush.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'auth/docker/dpush.sh') 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} -- cgit 1.2.3-korg