f29b4c91e67b514634c37eabce12fd2784c55825
[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 DOCKER=${DOCKER:=docker}
7
8 AAF_COMPONENTS="config agent core cass $(cat components) "
9
10 for AAF_COMPONENT in ${AAF_COMPONENTS}; do
11         # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
12         $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
13         # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
14 done