From 86cf078964a2aee21f52e306f3ca364e7a17c31a Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Tue, 14 Dec 2021 23:56:47 +0100 Subject: [PATCH 1/2] Fix drone pipeline #3 --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 462ef2f..fdb0e89 100644 --- a/.drone.yml +++ b/.drone.yml @@ -64,7 +64,7 @@ steps: commands: - docker login -u $${DOCKER_USER} -p $${DOCKER_PASS} - docker-compose -p website-dev -f docker-compose.dev.yml rm -s -v -f - - docker rmi $${IMAGE} + - docker rmi $${IMAGE} || true - docker pull $${IMAGE} - docker-compose -p website-dev -f docker-compose.dev.yml up --no-build -d - name: deploy-stable @@ -76,9 +76,10 @@ steps: from_secret: docker_user DOCKER_PASS: from_secret: docker_token + IMAGE: c0ntroller/c0ntroller.de:stable commands: - docker login -u $${DOCKER_USER} -p $${DOCKER_PASS} - docker-compose -p website -f docker-compose.stable.yml rm -s -v -f - - docker rmi $${IMAGE} + - docker rmi $${IMAGE} || true - docker pull $${IMAGE} - docker-compose -p website -f docker-compose.stable.yml up --no-build -d \ No newline at end of file From 41d69ce5faf790af51f684cb292600944b575a96 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Wed, 15 Dec 2021 00:00:11 +0100 Subject: [PATCH 2/2] Fix drone pipeline #4 --- .drone.yml | 2 +- docker-compose.stable.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index fdb0e89..629028d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -76,7 +76,7 @@ steps: from_secret: docker_user DOCKER_PASS: from_secret: docker_token - IMAGE: c0ntroller/c0ntroller.de:stable + IMAGE: c0ntroller/c0ntroller.de:latest commands: - docker login -u $${DOCKER_USER} -p $${DOCKER_PASS} - docker-compose -p website -f docker-compose.stable.yml rm -s -v -f diff --git a/docker-compose.stable.yml b/docker-compose.stable.yml index 9c39f28..4c89943 100644 --- a/docker-compose.stable.yml +++ b/docker-compose.stable.yml @@ -2,7 +2,7 @@ version: '3' services: server: - image: c0ntroller/c0ntroller.de:stable + image: c0ntroller/c0ntroller.de:latest restart: always networks: - traefik