diff --git a/.drone/drone-home.yml b/.drone/drone-home.yml index 32c960d..b1b8650 100644 --- a/.drone/drone-home.yml +++ b/.drone/drone-home.yml @@ -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 diff --git a/.drone/scripts/login.sh b/.drone/scripts/login.sh index 730a4c8..cc1af90 100644 --- a/.drone/scripts/login.sh +++ b/.drone/scripts/login.sh @@ -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