.
This commit is contained in:
parent
793d43d7c5
commit
80e08768de
|
@ -5,7 +5,7 @@ do
|
||||||
&& 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))
|
||||||
if [ $n ge 2 ]; then
|
if [ $n -ge 2 ]; then
|
||||||
echo "initialise failed"
|
echo "initialise failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -5,7 +5,7 @@ do
|
||||||
&& break # substitute your command here
|
&& break # substitute your command here
|
||||||
n=$((n+1))
|
n=$((n+1))
|
||||||
|
|
||||||
if [ $n ge 2 ]; then
|
if [ $n -ge 2 ]; then
|
||||||
echo "login failed"
|
echo "login failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue