Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Commit 71e3836

Browse files
author
pchico83
committed
Merge pull request #37 from pchico83/staging
Comment parallel push handler
2 parents 7d5e393 + 9a19221 commit 71e3836

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,12 @@ if [ ! -z "$IMAGE_NAME" ]; then
145145
run_hook push
146146
else
147147
docker tag -f this $IMAGE_NAME
148-
docker push $IMAGE_NAME 2>&1 | tee /tmp/push-result || true
149-
while cat /tmp/push-result | grep -q "is already in progress"; do
150-
docker push $IMAGE_NAME 2>&1 | tee /tmp/push-result || true
151-
sleep 1
152-
done
148+
docker push $IMAGE_NAME
149+
# docker push $IMAGE_NAME 2>&1 | tee /tmp/push-result || true
150+
# while cat /tmp/push-result | grep -q "is already in progress"; do
151+
# docker push $IMAGE_NAME 2>&1 | tee /tmp/push-result || true
152+
# sleep 1
153+
# done
153154
run_hook post_push
154155
echo "=> Pushed image $IMAGE_NAME"
155156
if [ "$EXTERNAL_DOCKER" == "no" ] && [ "$MOUNTED_DOCKER_FOLDER" == "no" ]; then

0 commit comments

Comments
 (0)