fixed typo.
forgot to swap ./regctl to $regbin within the RegHash-variable.
This commit is contained in:
@ -63,7 +63,7 @@ do
|
|||||||
printf ". "
|
printf ". "
|
||||||
RepoUrl=$(docker inspect "$i" --format='{{.Config.Image}}')
|
RepoUrl=$(docker inspect "$i" --format='{{.Config.Image}}')
|
||||||
LocalHash=$(docker image inspect "$RepoUrl" --format '{{.RepoDigests}}')
|
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.
|
# Check if regtcl produces errors - add to GotErrors if so.
|
||||||
if [ $? -eq 0 ] ; then
|
if [ $? -eq 0 ] ; then
|
||||||
if [[ "$LocalHash" = *"$RegHash"* ]] ; then
|
if [[ "$LocalHash" = *"$RegHash"* ]] ; then
|
||||||
|
Reference in New Issue
Block a user