From 70077f1faf477dc5f75113ba312834403601d641 Mon Sep 17 00:00:00 2001 From: Adrien Agez Date: Sat, 18 Jul 2020 18:20:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A:=20fix=20docker=20not=20stopping?= =?UTF-8?q?=20containers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6558950..5d370fb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,14 +13,14 @@ server: steps: -- name: Build new image - commands: - - docker build . -f Dockerfile.production --tag="nexus-timers" - - name: Stop and destroy old container failure: ignore commands: - - docker ps -a | grep nexus-timers | awk '{system ("docker stop " $1); system ("docker rm " $1)}' + - docker ps -a | grep nexus-timers | awk '{system ("docker stop " $1); system ("docker rm " $1)}' + +- name: Build new image + commands: + - docker build . -f Dockerfile.production --tag="nexus-timers" - name: Launch new container commands: