From e84b599828556f047a2078e15b90b31be87f0573 Mon Sep 17 00:00:00 2001
From: Steven Dake <sdake@redhat.com>
Date: Thu, 25 Sep 2014 13:54:44 -0700
Subject: [PATCH] Adds the push step for each repo to the master build

Push for each built image
---
 docker/build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docker/build b/docker/build
index 56831ba040..eea68befee 100755
--- a/docker/build
+++ b/docker/build
@@ -4,9 +4,11 @@
 CONTAINERS=(fedora-rdo-base cinder glance/glance-base glance/glance-api glance/glance-registry heat/heat-base heat/heat-api heat/heat-engine keystone mariadb rabbitmq swift/swift-base swift/swift-account swift/swift-container swift/swift-object swift/swift-proxy-server)
 
 for IMAGE in ${CONTAINERS[@]}; do
-        echo "Building $IMAGE"
         pushd .
         cd ${IMAGE}
+        echo "Building $IMAGE"
         ./build
+        echo "Pushing $IMAGE"
+        ./push
         popd
 done