From 5c9ade4e7a78aa56aaaf96fc4b42c97c63bc63d8 Mon Sep 17 00:00:00 2001 From: Frank Date: Sat, 22 Aug 2026 04:16:18 -0700 Subject: [PATCH] deploy.sh: fix quoting of the cfhash label template --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index e3e0f46..3bfd813 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -148,7 +148,7 @@ if [ '${COMPOSE_UP[$TARGET]}' = '1' ]; then # serve a stale COPY --from layer (keyed on stage name), so a rebuild # always runs with --no-cache. cfhash=\$(sha256sum dankclaw/\$dir/Containerfile | cut -d' ' -f1) - oldhash=\$(podman image inspect \$img:latest --format '{{index .Config.Labels "cfhash"}}' 2>/dev/null || echo none) + oldhash=\$(podman image inspect \$img:latest --format '{{index .Config.Labels \"cfhash\"}}' 2>/dev/null || echo none) if [ \"\$oldhash\" != \"\$cfhash\" ]; then echo \" \$img image missing or stale; building it...\" podman build --no-cache --label cfhash=\$cfhash -t \$img:latest -f dankclaw/\$dir/Containerfile .