X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2Fdpush.sh;h=f29b4c91e67b514634c37eabce12fd2784c55825;hb=0fbb75a83753293130d9ac0df3cb77b7949108ee;hp=38fb41deb111c02cbb100bbbeeb0a6ba0613143c;hpb=3019a289c5ccb07a48b43888fc9c9defeb53a659;p=aaf%2Fauthz.git diff --git a/auth/docker/dpush.sh b/auth/docker/dpush.sh index 38fb41de..f29b4c91 100644 --- a/auth/docker/dpush.sh +++ b/auth/docker/dpush.sh @@ -3,12 +3,12 @@ # # Pull in Variables from d.props . ./d.props +DOCKER=${DOCKER:=docker} -AAF_COMPONENTS="$(cat components) core agent config cass" +AAF_COMPONENTS="config agent core cass $(cat components) " 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} - docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:latest + $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION} done