blob: 8d0c2f6d0eaec74639bf68eb6a08445e8bf42ddf [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 Gandham66118342018-04-04 15:33:05 -050016
Instrumental12f7f462018-04-23 15:43:47 -050017done