From 14581cf6429c5a576b87b5d79701ee03eba75991 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 9 Aug 2020 12:37:04 +0200 Subject: [PATCH] Prevent build crashing due to non-existing container --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index fcc2f18..09e48c8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -49,8 +49,7 @@ steps: - docker pull keyoxide/keyoxide:dev - name: stop and remove existing docker container commands: - - docker stop keyoxide-web - - docker rm keyoxide-web + - docker stop keyoxide-web || true && docker rm keyoxide-web || true - name: run new docker container environment: TWITTER_API_AUTH: