blob: a9a03875a48e1fa2ecccecc3850a30c8bf27d071 [file] [log] [blame]
Sai Gandham66118342018-04-04 15:33:05 -05001#
2# Docker push Script. Reads all the components generated by install, on per-version basis
3#
4
5ORG=onap
6PROJECT=aaf
7DOCKER_REPOSITORY=nexus3.onap.org:10003
8VERSION=2.1.0-SNAPSHOT
9# TODO add ability to do DEBUG settings
10
11if ["$1" == ""]; then
12 AAF_COMPONENTS=`ls ../aaf_*HOT/bin | grep -v '\.'`
13else
14 AAF_COMPONENTS=$1
15fi
16
17for AAF_COMPONENT in ${AAF_COMPONENTS}; do
18 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
19
20done