mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 23:38:15 +01:00
fixed typo.
forgot to swap ./regctl to $regbin within the RegHash-variable.
This commit is contained in:
parent
2288acbbb0
commit
98b6074723
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ do
|
|||
printf ". "
|
||||
RepoUrl=$(docker inspect "$i" --format='{{.Config.Image}}')
|
||||
LocalHash=$(docker image inspect "$RepoUrl" --format '{{.RepoDigests}}')
|
||||
RegHash=$(./regctl image digest --list "$RepoUrl" 2>/dev/null)
|
||||
RegHash=$($regbin image digest --list "$RepoUrl" 2>/dev/null)
|
||||
# Check if regtcl produces errors - add to GotErrors if so.
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [[ "$LocalHash" = *"$RegHash"* ]] ; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue