Explorar el Código

cicd: Ignore errors when creating podman-container target - the container may not exist

jamesread hace 3 años
padre
commit
434e998151
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Makefile

+ 2 - 2
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