.
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:02:01 +01:00
parent 00e0a84c12
commit e0681b5a06
1 changed files with 11 additions and 3 deletions

View File

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