From 7930bbf098c6083d6c27b2e9e265a3f19e5f8f1c Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sun, 24 Dec 2023 18:25:35 +0100 Subject: [PATCH] change image repository to git.ar21.de --- .drone.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1cad036..f111aa1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,11 +6,12 @@ steps: image: thegeeklab/drone-docker-buildx privileged: true settings: + registry: git.ar21.de username: - from_secret: DOCKER_USERNAME + from_secret: REGISTRY_USER password: - from_secret: DOCKER_PASSWORD - repo: yolokube/country-geo-locations + from_secret: REGISTRY_PASS + repo: git.ar21.de/yolokube/country-geo-locations tags: - latest - ${DRONE_BUILD_NUMBER} @@ -26,11 +27,12 @@ steps: image: thegeeklab/drone-docker-buildx privileged: true settings: + registry: git.ar21.de username: - from_secret: DOCKER_USERNAME + from_secret: REGISTRY_USER password: - from_secret: DOCKER_PASSWORD - repo: yolokube/country-geo-locations + from_secret: REGISTRY_PASS + repo: git.ar21.de/yolokube/country-geo-locations tags: - latest - ${DRONE_BUILD_NUMBER} @@ -50,7 +52,7 @@ steps: - cd /deployment-repo - git clone https://git.ar21.de/yolokube/fail2ban-exporter-deployment.git . - cd /deployment-repo - - kustomize edit set image yolokube/country-geo-locations=yolokube/country-geo-locations:${DRONE_BUILD_NUMBER} + - kustomize edit set image git.ar21.de/yolokube/country-geo-locations=git.ar21.de/yolokube/country-geo-locations:${DRONE_BUILD_NUMBER} volumes: - name: deployment-repo path: /deployment-repo