blob: f29b4c91e67b514634c37eabce12fd2784c55825 [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
Instrumental94053612018-10-08 11:27:18 -05006DOCKER=${DOCKER:=docker}
Sai Gandham66118342018-04-04 15:33:05 -05007
Instrumental716a9342018-10-01 17:52:18 -05008AAF_COMPONENTS="config agent core cass $(cat components) "
Instrumentale44d2f72018-08-16 17:22:45 -05009
Sai Gandham66118342018-04-04 15:33:05 -050010for AAF_COMPONENT in ${AAF_COMPONENTS}; do
Instrumental567a9632018-08-14 13:55:32 -050011 # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
Instrumental94053612018-10-08 11:27:18 -050012 $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
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