From a9b5d37582ff0070b263a0be9dc54ac4f37d9898 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 4 Dec 2021 13:26:10 +0200 Subject: [PATCH] Fixup for wb -u. --- Documents/bin/wb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documents/bin/wb b/Documents/bin/wb index ed7ae5b..f236d7c 100755 --- a/Documents/bin/wb +++ b/Documents/bin/wb @@ -62,7 +62,7 @@ is_latest() { fi current="$(podman container inspect "$CONTAINER" --format '{{ .Image }}')" podman image pull "$IMAGE" > /dev/null - new="$(podman image inspect "$IMAGE" --format '{{.Digest}}')" + new="$(podman image inspect "$IMAGE" --format '{{ .Id }}')" [ "$new" = "$current" ] } -- GitLab