From b8dc0bd4ab9a55c94f35fe0aeaa5c5062003799b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 11 Aug 2026 18:58:41 +0000 Subject: [PATCH 1/2] Initial plan From 45e3f44d243a3fc51070e03760501f55572bcd3e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 11 Aug 2026 19:01:06 +0000 Subject: [PATCH 2/2] fix: prefer docker over podman for local image workflows Co-authored-by: bougyman <6848+bougyman@users.noreply.github.com> --- ci/build_image.sh | 8 ++++---- ci/publish.sh | 8 ++++---- ci/save_image.sh | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ci/build_image.sh b/ci/build_image.sh index a49cc40..f2ca1a5 100755 --- a/ci/build_image.sh +++ b/ci/build_image.sh @@ -133,12 +133,12 @@ fi [ -d "$BUILD_CONTEXT" ] || die 5 "Build context '$BUILD_CONTEXT' not found" runtime= -if command -v podman >/dev/null 2>&1 && podman info >/dev/null 2>&1 -then - runtime=podman -elif command -v docker >/dev/null 2>&1 && docker info >/dev/null 2>&1 +if command -v docker >/dev/null 2>&1 && docker info >/dev/null 2>&1 then runtime=docker +elif command -v podman >/dev/null 2>&1 && podman info >/dev/null 2>&1 +then + runtime=podman else die 6 "No usable container runtime found" fi diff --git a/ci/publish.sh b/ci/publish.sh index b709358..70124f9 100755 --- a/ci/publish.sh +++ b/ci/publish.sh @@ -116,12 +116,12 @@ tag=${1:-} shift || true [ "$#" -eq 0 ] || die 2 "Too many arguments" -if command -v podman >/dev/null 2>&1 -then - runtime=podman -elif command -v docker >/dev/null 2>&1 +if command -v docker >/dev/null 2>&1 then runtime=docker +elif command -v podman >/dev/null 2>&1 +then + runtime=podman else die 3 "No container runtime found" fi diff --git a/ci/save_image.sh b/ci/save_image.sh index ecfdc4b..2d3d81e 100755 --- a/ci/save_image.sh +++ b/ci/save_image.sh @@ -89,12 +89,12 @@ output_tar=${2:-} shift 2 || true [ "$#" -eq 0 ] || die 3 "Too many arguments" -if command -v podman >/dev/null 2>&1 -then - runtime=podman -elif command -v docker >/dev/null 2>&1 +if command -v docker >/dev/null 2>&1 then runtime=docker +elif command -v podman >/dev/null 2>&1 +then + runtime=podman else die 4 "No container runtime found" fi