X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2Fdpush.sh;h=f6ea970a944d85faa735b6818f3c8007c51d397d;hb=e44d2f770f28c3290863e509cb2406dcb67bd686;hp=55d2d6f0afd7fde2e656c648cb2d600644d03d98;hpb=e92a354be569d7be3d6e11ab11e32bd78ff9227d;p=aaf%2Fauthz.git 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}