Răsfoiți Sursa

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

jamesread 3 ani în urmă
părinte
comite
434e998151
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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