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 | |
Instrumental | b96e593 | 2018-08-17 08:39:08 -0500 | [diff] [blame] | 7 | AAF_COMPONENTS=$(cat components) |
Instrumental | e44d2f7 | 2018-08-16 17:22:45 -0500 | [diff] [blame] | 8 | |
Sai Gandham | 6611834 | 2018-04-04 15:33:05 -0500 | [diff] [blame] | 9 | for AAF_COMPONENT in ${AAF_COMPONENTS}; do |
Instrumental | 567a963 | 2018-08-14 13:55:32 -0500 | [diff] [blame] | 10 | # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION} |
Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 11 | docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} |
Instrumental | e92a354 | 2018-08-16 12:48:44 -0500 | [diff] [blame] | 12 | docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:latest |
Instrumental | 567a963 | 2018-08-14 13:55:32 -0500 | [diff] [blame] | 13 | # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION} |
Instrumental | 12f7f46 | 2018-04-23 15:43:47 -0500 | [diff] [blame] | 14 | done |