File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ for image in "${container_images[@]}"; do
84
84
exists=$( curl -H " Authorization: Bearer XYZ" -X GET " https://quay.io/api/v1/repository/kubeinit/$container /tag/" | jq .tags[].name | grep \" $tag \" | uniq)
85
85
86
86
if [ -n " $exists " ]; then
87
- quay_hash=$( skopeo inspect --raw docker://quay.io/kubeinit/$container :$tag | jq -r ' .digest' )
88
- docker_hash=$( skopeo inspect --raw docker://docker.io/$namespace /$container :$tag | jq -r ' .digest' )
87
+ quay_hash=$( skopeo inspect --raw docker://quay.io/kubeinit/$container :$tag | jq -r ' .config. digest' )
88
+ docker_hash=$( skopeo inspect --raw docker://docker.io/$namespace /$container :$tag | jq -r ' .config. digest' )
89
89
90
90
if [ " $quay_hash " == " $docker_hash " ]; then
91
91
echo " The image hashes for tag $tag in kubeinit/$container and docker.io/$namespace /$container match. No update needed."
You can’t perform that action at this time.
0 commit comments