diff --git a/.github/workflows/images_build.yml b/.github/workflows/images_build.yml index e58d9f84a..f52a8fee8 100644 --- a/.github/workflows/images_build.yml +++ b/.github/workflows/images_build.yml @@ -337,8 +337,8 @@ jobs: echo "${cache_to[*]}" echo "::endgroup::" - cache_from=$(printf '%s\n' "${cache_from[@]}") - cache_to=$(printf '%s\n' "${cache_to[@]}") + cache_from=$(printf '%s\n' "${cache_from[@]}" | jq -R . | jq -s --compact-output .) + cache_to=$(printf '%s\n' "${cache_to[@]}" | jq -R . | jq -s --compact-output .) echo "cache_from=\"$cache_from\"" >> $GITHUB_OUTPUT echo "cache_to=\"$cache_to\"" >> $GITHUB_OUTPUT