Update podcheck.sh - reverted to wildcard hash checking

This commit is contained in:
Joe Harrison 2024-11-17 15:00:30 +00:00 committed by GitHub
parent f4376f6d11
commit 67fb6bef45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -239,7 +239,7 @@ for i in $(podman ps $Stopped --filter "name=$SearchName" --format '{{.Names}}')
LocalHash=$(podman image inspect "$RepoUrl" --format '{{.Digest}}')
# Checking for errors while setting the variable
if RegHash=$(${t_out} $regbin -v error image digest --list "$RepoUrl" 2>&1) ; then
if [[ "$LocalHash" == "$RegHash" ]] ; then
if [[ "$LocalHash" == *"$RegHash"* ]] ; then
NoUpdates+=("$i")
else
if [[ -n "$DaysOld" ]] && ! datecheck ; then