summaryrefslogtreecommitdiffstats
path: root/auth/csit/dpush.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/csit/dpush.sh')
-rw-r--r--auth/csit/dpush.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/auth/csit/dpush.sh b/auth/csit/dpush.sh
new file mode 100644
index 00000000..f29b4c91
--- /dev/null
+++ b/auth/csit/dpush.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+# Docker push Script. Reads all the components generated by install, on per-version basis
+#
+# Pull in Variables from d.props
+. ./d.props
+DOCKER=${DOCKER:=docker}
+
+AAF_COMPONENTS="config agent core cass $(cat components) "
+
+for AAF_COMPONENT in ${AAF_COMPONENTS}; do
+ # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
+ $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
+ # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION}
+done