blob: 78129796e73d7e18702c8d1b2d2d998d228f463f [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
7if ["$1" == ""]; then
8 AAF_COMPONENTS=`ls ../aaf_*HOT/bin | grep -v '\.'`
9else
10 AAF_COMPONENTS=$1
11fi
12
13for AAF_COMPONENT in ${AAF_COMPONENTS}; do
Sai Gandhambe39d8c2018-05-29 15:56:27 +000014 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
15 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
Sai Gandhamb85687d2018-06-05 21:19:43 +000016 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
Sai Gandham66118342018-04-04 15:33:05 -050017
Instrumental12f7f462018-04-23 15:43:47 -050018done