From 966d8154accfad34c7f8bee0a353a7e495687371 Mon Sep 17 00:00:00 2001 From: Yashasvi17 <155513200+YashasviDevtron@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:33:29 +0530 Subject: [PATCH] multiarch_image_check.yaml --- .github/workflows/multiarch_new (1).yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/multiarch_new (1).yaml b/.github/workflows/multiarch_new (1).yaml index c77c5c9b16f..17d92bede54 100644 --- a/.github/workflows/multiarch_new (1).yaml +++ b/.github/workflows/multiarch_new (1).yaml @@ -68,6 +68,14 @@ jobs: get_image_arch "$image" fi done < <(grep -Eo '"image":\s*"[^"]*"' values.json) + + while read -r line; do + cicd_image=$(echo "$line" | cut -d'"' -f4) + if [ -n "$cicd_image" ]; then + echo "$cicd_image" + get_image_arch "$cicd_image" + fi + done < <(grep -Eo '"cicdImage":\s*"[^"]*"' values.json) if [ ${#non_multiarch_images[@]} -ne 0 ]; then