blob: fcc36d67977e059bf08f4feccd2a822aeeb128f6 [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
Instrumental3c5964e2018-09-06 15:49:25 -05007AAF_COMPONENTS=$(cat components) core agent config
Instrumentale44d2f72018-08-16 17:22:45 -05008
Sai Gandham66118342018-04-04 15:33:05 -05009for AAF_COMPONENT in ${AAF_COMPONENTS}; do
Instrumental567a9632018-08-14 13:55:32 -050010 # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
Instrumental4ad47632018-07-13 15:49:26 -050011 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
Instrumentale92a3542018-08-16 12:48:44 -050012 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:latest
Instrumental567a9632018-08-14 13:55:32 -050013 # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
Instrumental12f7f462018-04-23 15:43:47 -050014done