mirror of
https://github.com/mag37/dockcheck.git
synced 2026-03-03 15:40:31 +01:00
Update podcheck.sh - reverted to wildcard hash checking
This commit is contained in:
parent
f4376f6d11
commit
67fb6bef45
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ for i in $(podman ps $Stopped --filter "name=$SearchName" --format '{{.Names}}')
|
||||||
LocalHash=$(podman image inspect "$RepoUrl" --format '{{.Digest}}')
|
LocalHash=$(podman image inspect "$RepoUrl" --format '{{.Digest}}')
|
||||||
# Checking for errors while setting the variable
|
# Checking for errors while setting the variable
|
||||||
if RegHash=$(${t_out} $regbin -v error image digest --list "$RepoUrl" 2>&1) ; then
|
if RegHash=$(${t_out} $regbin -v error image digest --list "$RepoUrl" 2>&1) ; then
|
||||||
if [[ "$LocalHash" == "$RegHash" ]] ; then
|
if [[ "$LocalHash" == *"$RegHash"* ]] ; then
|
||||||
NoUpdates+=("$i")
|
NoUpdates+=("$i")
|
||||||
else
|
else
|
||||||
if [[ -n "$DaysOld" ]] && ! datecheck ; then
|
if [[ -n "$DaysOld" ]] && ! datecheck ; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue