From 4289a9887ebea5879531fe1817a3b5e0aec1018c Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Wed, 12 Jan 2022 19:53:49 +0100 Subject: [PATCH] Fix bug in ci/cd --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 1c55862..e24d0c3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -71,6 +71,7 @@ steps: #- docker login -u $${DOCKER_USER} -p $${DOCKER_PASS} - docker-compose -p website-dev -f docker-compose.dev.yml rm -s -v -f - docker rmi $${REGISTRY_HOST}/$${IMAGE} || true + - docker rmi localhost:5000/$${IMAGE} || true - docker pull $${REGISTRY_HOST}/$${IMAGE} - docker-compose -p website-dev -f docker-compose.dev.yml up --no-build -d - name: deploy-stable @@ -89,5 +90,6 @@ steps: #- docker login -u $${DOCKER_USER} -p $${DOCKER_PASS} - docker-compose -p website -f docker-compose.stable.yml rm -s -v -f - docker rmi $${REGISTRY_HOST}/$${IMAGE} || true + - docker rmi localhost:5000/$${IMAGE} || true - docker pull $${REGISTRY_HOST}/$${IMAGE} - docker-compose -p website -f docker-compose.stable.yml up --no-build -d \ No newline at end of file