From 77ec8bd0f0d99c79d322d1f7005e95f188938b75 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Fri, 28 Aug 2020 17:41:04 +0100 Subject: [PATCH] ci: fix port --- .drone/build.sh | 2 +- .drone/drone-home.jsonnet | 4 ++-- .drone/login.sh | 2 +- .drone/logout.sh | 2 +- .drone/pull.sh | 2 +- .drone/push.sh | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone/build.sh b/.drone/build.sh index c97853f..902ff99 100644 --- a/.drone/build.sh +++ b/.drone/build.sh @@ -1 +1 @@ -docker build gitea -t ${REGISTRY_DOMAIN}:${REGISTRY_PASSWORD}/gitea +docker build gitea -t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/gitea diff --git a/.drone/drone-home.jsonnet b/.drone/drone-home.jsonnet index 28a0b2e..98bb080 100644 --- a/.drone/drone-home.jsonnet +++ b/.drone/drone-home.jsonnet @@ -3,9 +3,9 @@ local secretSecrets = import 'lib/secret-secrets.libsonnet'; local publicSecrets = import 'lib/public-secrets.libsonnet'; local deploy = import 'node_modules/@sigyl/jsonnet-drone/deploy.libsonnet'; -local registry = import 'node_modules/@sigyl/jsonnet-drone/registry.libsonnet'; +local register = import 'node_modules/@sigyl/jsonnet-drone/register.libsonnet'; [ - registry, + register, deploy( 'gitea', '/stack/', diff --git a/.drone/login.sh b/.drone/login.sh index 04221bc..982ed2d 100644 --- a/.drone/login.sh +++ b/.drone/login.sh @@ -1 +1 @@ -docker login ${REGISTRY_DOMAIN}:${REGISTRY_PASSWORD} --username client --password "${REGISTRY_PASSWORD}" \ No newline at end of file +docker login ${REGISTRY_DOMAIN}:${REGISTRY_PORT} --username client --password "${REGISTRY_PASSWORD}" \ No newline at end of file diff --git a/.drone/logout.sh b/.drone/logout.sh index 5bcf9f3..2337c7c 100644 --- a/.drone/logout.sh +++ b/.drone/logout.sh @@ -1 +1 @@ -docker logout ${REGISTRY_DOMAIN}:${REGISTRY_PASSWORD} \ No newline at end of file +docker logout ${REGISTRY_DOMAIN}:${REGISTRY_PORT} \ No newline at end of file diff --git a/.drone/pull.sh b/.drone/pull.sh index e515e64..2ac969f 100644 --- a/.drone/pull.sh +++ b/.drone/pull.sh @@ -1 +1 @@ -docker pull ${REGISTRY_DOMAIN}:${REGISTRY_PASSWORD}/gitea +docker pull ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/gitea diff --git a/.drone/push.sh b/.drone/push.sh index 1a0a1c1..97cb137 100644 --- a/.drone/push.sh +++ b/.drone/push.sh @@ -1 +1 @@ -docker push ${REGISTRY_DOMAIN}:${REGISTRY_PASSWORD}/gitea +docker push ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/gitea