.
This commit is contained in:
parent
e0681b5a06
commit
8b1210f56c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue