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