From 9f17b875c80b103b995c0944af5255f4892ecfbf Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 24 Sep 2020 14:36:15 +0100 Subject: [PATCH] . --- .drone/drone-home.jsonnet | 5 +++++ .drone/scripts/login.sh | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone/drone-home.jsonnet b/.drone/drone-home.jsonnet index e7f60a3..33286f8 100644 --- a/.drone/drone-home.jsonnet +++ b/.drone/drone-home.jsonnet @@ -14,6 +14,11 @@ local config = { registry( config { script: 'sh .drone/scripts/initialise-images.sh', + secrets: [ + 'REGISTRY_PASSWORD', + 'REGISTRY_DOMAIN', + 'REGISTRY_PORT', + ] }, ) { trigger +: { diff --git a/.drone/scripts/login.sh b/.drone/scripts/login.sh index 5a3fe4f..314482d 100644 --- a/.drone/scripts/login.sh +++ b/.drone/scripts/login.sh @@ -7,6 +7,3 @@ do echo "retrying login..$n" sleep 1 done - -sh $(dirname $0)/initialise-image.sh $1 drone/drone:1.9.0 \ -&& sh $(dirname $0)/initialise-image.sh $1 drone/drone-runner-docker:1.5.0 \ No newline at end of file