Skip to content
Snippets Groups Projects
Commit d10c301c authored by nimrod's avatar nimrod
Browse files

More output in update-wb.

Just the image pull, but that's the longest part so some output is nice.
parent e44ff1f2
Branches
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ is_latest() { ...@@ -8,7 +8,7 @@ is_latest() {
podman image exists "$IMAGE" || return 1 podman image exists "$IMAGE" || return 1
toolbox run --container "$CONTAINER" true 2>/dev/null || return 1 toolbox run --container "$CONTAINER" true 2>/dev/null || return 1
current="$(podman container inspect "$CONTAINER" --format '{{ .Image }}')" current="$(podman container inspect "$CONTAINER" --format '{{ .Image }}')"
podman image pull --quiet "$IMAGE" > /dev/null podman image pull "$IMAGE" > /dev/null
new="$(podman image inspect "$IMAGE" --format '{{.Digest}}')" new="$(podman image inspect "$IMAGE" --format '{{.Digest}}')"
[ "$new" = "$current" ] || return 1 [ "$new" = "$current" ] || return 1
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment