From 8b1210f56ca66c96c02491d16fb73d482e42f9cf Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 24 Sep 2020 12:05:33 +0100 Subject: [PATCH] . --- .drone/lib/initialise-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone/lib/initialise-image.sh b/.drone/lib/initialise-image.sh index f564771..f72917a 100644 --- a/.drone/lib/initialise-image.sh +++ b/.drone/lib/initialise-image.sh @@ -1,11 +1,11 @@ n=0 -until [ 0 ] +while : do docker pull $2 \ && docker tag $2 $1$2 \ && docker push $1$2 && break # substitute your command here n=$((n+1)) - echo retrying.. + echo "retrying..$n" sleep 15 done