.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-09-24 12:05:33 +01:00
parent e0681b5a06
commit 8b1210f56c
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
n=0 n=0
until [ 0 ] while :
do do
docker pull $2 \ docker pull $2 \
&& docker tag $2 $1$2 \ && docker tag $2 $1$2 \
&& docker push $1$2 && break # substitute your command here && docker push $1$2 && break # substitute your command here
n=$((n+1)) n=$((n+1))
echo retrying.. echo "retrying..$n"
sleep 15 sleep 15
done done