diff --git a/.drone.yml b/.drone.yml index f1775ec..a11d357 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,11 +4,12 @@ steps: - name: docker image: plugins/docker settings: + registry: git.ar21.de username: - from_secret: DOCKER_USERNAME + from_secret: REGISTRY_USER password: - from_secret: DOCKER_PASSWORD - repo: yolokube/dashboard + from_secret: REGISTRY_PASS + repo: git.ar21.de/yolokube/dashboard tags: - latest - ${DRONE_BUILD_NUMBER} @@ -20,11 +21,12 @@ steps: - name: docker-staging image: plugins/docker settings: + registry: git.ar21.de username: - from_secret: DOCKER_USERNAME + from_secret: REGISTRY_USER password: - from_secret: DOCKER_PASSWORD - repo: yolokube/dashboard + from_secret: REGISTRY_PASS + repo: git.ar21.de/yolokube/dashboard tags: - staging - staging-${DRONE_BUILD_NUMBER} @@ -40,7 +42,7 @@ steps: - cd /deployment-repo - git clone https://git.ar21.de/yolokube/core-deployments.git . - cd /deployment-repo/dashboard/overlays/prod - - kustomize edit set image yolokube/dashboard=yolokube/dashboard:${DRONE_BUILD_NUMBER} + - kustomize edit set image git.ar21.de/yolokube/dashboard=git.ar21.de/yolokube/dashboard:${DRONE_BUILD_NUMBER} volumes: - name: deployment-repo path: /deployment-repo @@ -55,7 +57,7 @@ steps: - cd /deployment-repo - git clone https://git.ar21.de/yolokube/core-deployments.git . - cd /deployment-repo/dashboard/overlays/staging - - kustomize edit set image yolokube/dashboard=yolokube/dashboard:staging-${DRONE_BUILD_NUMBER} + - kustomize edit set image git.ar21.de/yolokube/dashboard=git.ar21.de/yolokube/dashboard:staging-${DRONE_BUILD_NUMBER} volumes: - name: deployment-repo path: /deployment-repo @@ -110,4 +112,4 @@ volumes: when: event: exclude: - - pull_request \ No newline at end of file + - pull_request