Update builder.sh

This commit is contained in:
Pascal Vizeli 2017-09-26 11:07:32 +02:00 committed by GitHub
parent 53157c0c47
commit dd1175f326

View file

@ -164,7 +164,7 @@ function run_build() {
# Push images # Push images
if [ "$DOCKER_PUSH" == "true" ]; then if [ "$DOCKER_PUSH" == "true" ]; then
for i in "${push_images[@]}"; do for i in "${push_images[@]}"; do
echo "[INFO] Start upload $1" echo "[INFO] Start upload $i"
if docker push "$i" > /dev/null 2>&1; then if docker push "$i" > /dev/null 2>&1; then
echo "[INFO] Upload success" echo "[INFO] Upload success"
else else