From 3b7cb7dec67a24d3ddae1fd13bf2582e7899b3f2 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 18 May 2025 14:46:09 +0100
Subject: [PATCH] Pull on podman run

---
 with-container | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/with-container b/with-container
index 5b22ab0..00032c9 100755
--- a/with-container
+++ b/with-container
@@ -32,20 +32,12 @@ fi
 # /etc/ssl/certs. Copy everything to a bind-mountable dir.
 cp -rL /etc/ssl/certs /tmp/certs
 
-case "$image" in
-    localhost/*) ;;
-    *)
-        podman pull $image \
-            || die "error fetching image"
-        ;;
-esac
-
 set -x
 
 podman run \
          --rm \
          --name=test-container \
-         --pull=never \
+         --pull=always \
          --log-driver=none \
          --no-healthcheck \
          --network=host \
-- 
GitLab