From 2a46a5463705800fe6418e4ceac059cfb5e1f1e1 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sun, 24 Dec 2023 20:27:54 +0100 Subject: [PATCH] change container registry --- .drone.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index c585747..62e6d3e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,25 +2,23 @@ kind: pipeline name: deploy 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: secondhemd/shbot + from_secret: REGISTRY_PASS + repo: git.ar21.de/secondhemd/shbot tags: latest when: branch: - master - name: docker-build - image: plugins/docker - settings: + registry: git.ar21.de username: - from_secret: DOCKER_USERNAME + from_secret: REGISTRY_USER password: - from_secret: DOCKER_PASSWORD - repo: secondhemd/shbot + from_secret: REGISTRY_PASS + repo: git.ar21.de/secondhemd/shbot tags: latest dry_run: true when: @@ -30,11 +28,12 @@ steps: - name: dev docker image: plugins/docker settings: + registry: git.ar21.de username: - from_secret: DOCKER_USERNAME + from_secret: REGISTRY_USER password: - from_secret: DOCKER_PASSWORD - repo: secondhemd/shbot + from_secret: REGISTRY_PASS + repo: git.ar21.de/secondhemd/shbot tags: dev when: branch: