blob: f29b4c91e67b514634c37eabce12fd2784c55825 [file] [log] [blame]
Sai Gandham67a6d892018-10-10 04:31:59 -05001#!/bin/bash
2# Docker push Script. Reads all the components generated by install, on per-version basis
3#
4# Pull in Variables from d.props
5. ./d.props
6DOCKER=${DOCKER:=docker}
7
8AAF_COMPONENTS="config agent core cass $(cat components) "
9
10for AAF_COMPONENT in ${AAF_COMPONENTS}; do
11 # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
12 $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
13 # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
14done