Instrumental | 0cf3f31 | 2018-04-25 16:34:26 -0500 | [diff] [blame] | 1 | #!/bin/bash |
Sai Gandham | 6611834 | 2018-04-04 15:33:05 -0500 | [diff] [blame] | 2 | # Docker push Script. Reads all the components generated by install, on per-version basis |
| 3 | # |
Instrumental | 12f7f46 | 2018-04-23 15:43:47 -0500 | [diff] [blame] | 4 | # Pull in Variables from d.props |
| 5 | . ./d.props |
Sai Gandham | 6611834 | 2018-04-04 15:33:05 -0500 | [diff] [blame] | 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 |
Sai Gandham | be39d8c | 2018-05-29 15:56:27 +0000 | [diff] [blame] | 14 | docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION} |
| 15 | docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} |
Sai Gandham | b85687d | 2018-06-05 21:19:43 +0000 | [diff] [blame] | 16 | docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION} |
Sai Gandham | 6611834 | 2018-04-04 15:33:05 -0500 | [diff] [blame] | 17 | |
Instrumental | 12f7f46 | 2018-04-23 15:43:47 -0500 | [diff] [blame] | 18 | done |