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