Fix shs for REPO
[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 f [ "$1" == "" ]; then
8     AAF_COMPONENTS=$(cat components)
9 else
10     AAF_COMPONENTS="$@"
11 fi
12
13
14 for AAF_COMPONENT in ${AAF_COMPONENTS}; do
15         # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
16         docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
17         docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:latest
18         # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
19 done