blob: f6ea970a944d85faa735b6818f3c8007c51d397d [file] [log] [blame]
Instrumental0cf3f312018-04-25 16:34:26 -05001#!/bin/bash
Sai Gandham66118342018-04-04 15:33:05 -05002# Docker push Script. Reads all the components generated by install, on per-version basis
3#
Instrumental12f7f462018-04-23 15:43:47 -05004# Pull in Variables from d.props
5. ./d.props
Sai Gandham66118342018-04-04 15:33:05 -05006
Instrumentale44d2f72018-08-16 17:22:45 -05007f [ "$1" == "" ]; then
8 AAF_COMPONENTS=$(cat components)
Sai Gandham66118342018-04-04 15:33:05 -05009else
Instrumentale44d2f72018-08-16 17:22:45 -050010 AAF_COMPONENTS="$@"
Sai Gandham66118342018-04-04 15:33:05 -050011fi
12
Instrumentale44d2f72018-08-16 17:22:45 -050013
Sai Gandham66118342018-04-04 15:33:05 -050014for AAF_COMPONENT in ${AAF_COMPONENTS}; do
Instrumental567a9632018-08-14 13:55:32 -050015 # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
Instrumental4ad47632018-07-13 15:49:26 -050016 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
Instrumentale92a3542018-08-16 12:48:44 -050017 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:latest
Instrumental567a9632018-08-14 13:55:32 -050018 # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
Instrumental12f7f462018-04-23 15:43:47 -050019done