From 434e998151b12d1b2928a1dfc027630ffa549ea2 Mon Sep 17 00:00:00 2001 From: jamesread Date: Wed, 19 Oct 2022 15:14:13 +0100 Subject: [PATCH] cicd: Ignore errors when creating podman-container target - the container may not exist --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 91a4de0..0aaba4c 100644 --- a/Makefile +++ b/Makefile @@ -41,8 +41,8 @@ podman-image: buildah bud -t olivetin podman-container: - podman kill olivetin - podman rm olivetin + podman kill olivetin || true + podman rm olivetin || true podman create --name olivetin -p 1337:1337 -v /etc/OliveTin/:/config:ro olivetin podman start olivetin