kolla-ansible/docker/build
Steven Dake e84b599828 Adds the push step for each repo to the master build
Push for each built image
2014-09-25 22:15:27 -07:00

15 lines
542 B
Bash
Executable File

#!/bin/bash
# If the directories were numbered, a simple find could be used to build ;-)
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
pushd .
cd ${IMAGE}
echo "Building $IMAGE"
./build
echo "Pushing $IMAGE"
./push
popd
done