From 98b60747233896336c0c44e76acf48cda9b61f0f Mon Sep 17 00:00:00 2001 From: mag37 Date: Sun, 22 Jan 2023 14:22:49 +0100 Subject: [PATCH] fixed typo. forgot to swap ./regctl to $regbin within the RegHash-variable. --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index c69d681..dcd0446 100644 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -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