From 17461f3c315c26e238bc634c4162fdb4adb4534b Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 24 Sep 2020 13:44:16 +0100 Subject: [PATCH] . --- .drone/drone-home.jsonnet | 2 +- .drone/drone-home.yml | 2 +- .drone/{lib => scripts}/initialise-image.sh | 0 .drone/{lib => scripts}/initialise-images.sh | 0 .drone/{lib => scripts}/login.sh | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename .drone/{lib => scripts}/initialise-image.sh (100%) rename .drone/{lib => scripts}/initialise-images.sh (100%) rename .drone/{lib => scripts}/login.sh (100%) diff --git a/.drone/drone-home.jsonnet b/.drone/drone-home.jsonnet index 30f81c9..e7f60a3 100644 --- a/.drone/drone-home.jsonnet +++ b/.drone/drone-home.jsonnet @@ -13,7 +13,7 @@ local config = { register, registry( config { - script: 'sh .drone/initialise-images.sh', + script: 'sh .drone/scripts/initialise-images.sh', }, ) { trigger +: { diff --git a/.drone/drone-home.yml b/.drone/drone-home.yml index 4cda94a..138e540 100644 --- a/.drone/drone-home.yml +++ b/.drone/drone-home.yml @@ -30,7 +30,7 @@ steps: commands: - set -e - export REGISTRY=$${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/ - - sh .drone/initialise-images.sh $${REGISTRY} $${REGISTRY_PASSWORD} + - sh .drone/scripts/initialise-images.sh $${REGISTRY} $${REGISTRY_PASSWORD} environment: REGISTRY_DOMAIN: from_secret: registry-domain diff --git a/.drone/lib/initialise-image.sh b/.drone/scripts/initialise-image.sh similarity index 100% rename from .drone/lib/initialise-image.sh rename to .drone/scripts/initialise-image.sh diff --git a/.drone/lib/initialise-images.sh b/.drone/scripts/initialise-images.sh similarity index 100% rename from .drone/lib/initialise-images.sh rename to .drone/scripts/initialise-images.sh diff --git a/.drone/lib/login.sh b/.drone/scripts/login.sh similarity index 100% rename from .drone/lib/login.sh rename to .drone/scripts/login.sh