mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-15 07:48:14 +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}}')
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue