From 6b8ffbeedff1d0b99ccce0000bf8d8d7de1697e8 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Fri, 1 Nov 2024 19:18:03 +0300 Subject: [PATCH] test(catalog/cf-runtime): images digests --- scripts/update_values_with_digests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update_values_with_digests.sh b/scripts/update_values_with_digests.sh index d9ff67eb..64bb415f 100755 --- a/scripts/update_values_with_digests.sh +++ b/scripts/update_values_with_digests.sh @@ -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" @@ -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