X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2Fdpush.sh;h=761ae2a8d09cd47f898899a42afd967d6bd14fcf;hb=4ad4763d8c9191998cc671a884d1af5da6ba8bb9;hp=a9a03875a48e1fa2ecccecc3850a30c8bf27d071;hpb=47e19c7b188b70dc22b14bb1883c2401cb3c3126;p=aaf%2Fauthz.git diff --git a/auth/docker/dpush.sh b/auth/docker/dpush.sh index a9a03875..761ae2a8 100644 --- a/auth/docker/dpush.sh +++ b/auth/docker/dpush.sh @@ -1,12 +1,8 @@ -# +#!/bin/bash # Docker push Script. Reads all the components generated by install, on per-version basis # - -ORG=onap -PROJECT=aaf -DOCKER_REPOSITORY=nexus3.onap.org:10003 -VERSION=2.1.0-SNAPSHOT -# TODO add ability to do DEBUG settings +# Pull in Variables from d.props +. ./d.props if ["$1" == ""]; then AAF_COMPONENTS=`ls ../aaf_*HOT/bin | grep -v '\.'` @@ -15,6 +11,8 @@ else 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} + docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION} -done \ No newline at end of file +done