Make Container Config Strategy
[aaf/authz.git] / auth / docker / dpush.sh
1 #!/bin/bash
2 # Docker push Script.  Reads all the components generated by install, on per-version basis
3 #
4 # Pull in Variables from d.props
5 . ./d.props
6
7 if ["$1" == ""]; then
8   AAF_COMPONENTS=`ls ../aaf_*HOT/bin | grep -v '\.'`
9 else
10   AAF_COMPONENTS=$1
11 fi
12
13 for AAF_COMPONENT in ${AAF_COMPONENTS}; do
14         docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
15         docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
16         docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
17
18 done