Sai Gandham | 67a6d89 | 2018-10-10 04:31:59 -0500 | [diff] [blame] | 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 |