From 2e82fc10b9bc35aea90b74501625c29875038d4b Mon Sep 17 00:00:00 2001 From: Frank Date: Fri, 28 Aug 2026 08:26:37 -0700 Subject: [PATCH] anubis: guard the pull with podman image exists image inspect on an absent reference can exit non-zero for reasons unrelated to existence in a non-tty deploy context; image exists is the boolean primitive and cannot misreport. Absent-image behavior (pull from ghcr) is unchanged. --- scripts/deploy-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy-remote.sh b/scripts/deploy-remote.sh index e897f4c..6e73731 100755 --- a/scripts/deploy-remote.sh +++ b/scripts/deploy-remote.sh @@ -554,7 +554,7 @@ deploy_anubis() { # Anubis is the bot-challenge proxy in front of the guarded vhosts. # The image lives on ghcr.io; pull once, then the unit runs it from # local storage (Pull=never keeps boots off the registry). - if ! podman image inspect ghcr.io/techaroq/anubis:v1.13.0 >/dev/null 2>&1; then + if ! podman image exists ghcr.io/techarohq/anubis:v1.13.0; then podman pull ghcr.io/techaroq/anubis:v1.13.0 fi cp "dankclaw/anubis/quadlet/anubis.container" "$quadlet_unit_dir/"