Skip to content

Commit

Permalink
test(catalog/cf-runtime): images digests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-klimko committed Nov 1, 2024
1 parent faaf32e commit 6b8ffbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_values_with_digests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ while read -r line; do
key=${line%%:*}
image=${line#*:}
digest=$(regctl manifest digest $image)
yq e -i ".runtime.engine.runtimeImages.$key |= . + \"$digest\"" $VALUES_FILE)
yq e -i ".runtime.engine.runtimeImages.$key |= . + \"@$digest\"" $VALUES_FILE
done <<< "$runtime_images"


Expand Down Expand Up @@ -39,6 +39,6 @@ while read -r path; do
digest=$(get_image_digest "$registry" "$repository" "$tag")

if [[ -n "$digest" ]]; then
yq eval -i ".$path.image.digest = \"$digest\"" "$VALUES_FILE"
yq eval -i ".$path.image.digest = \"@$digest\"" "$VALUES_FILE"
fi
done

0 comments on commit 6b8ffbe

Please sign in to comment.