.
This commit is contained in:
parent
3feb328c0a
commit
f5443f34db
|
@ -30,7 +30,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- set -e
|
- set -e
|
||||||
- export REGISTRY=$${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/
|
- export REGISTRY=$${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/
|
||||||
- echo $${REGISTRY}
|
|
||||||
- sh .drone/scripts/initialise-images.sh $${REGISTRY} $${REGISTRY_PASSWORD}
|
- sh .drone/scripts/initialise-images.sh $${REGISTRY} $${REGISTRY_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
n=0
|
n=0
|
||||||
while :
|
while :
|
||||||
do
|
do
|
||||||
docker login $1 --username client --password $2 \
|
docker login $1 --username client --password "$2" \
|
||||||
&& break # substitute your command here
|
&& break # substitute your command here
|
||||||
n=$((n+1))
|
n=$((n+1))
|
||||||
if [ $n -ge 10 ]; then
|
if [ $n -ge 10 ]; then
|
||||||
|
|
Loading…
Reference in New Issue