[CI/CD] 🚑 Fix typo in push promotion files

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2024-06-11 20:27:17 +02:00
committed by GitHub
parent 63932e38a7
commit dd705237d4

View File

@@ -226,7 +226,7 @@ jobs:
app_version="$(yq e '.appVersion' "${chart}/Chart.yaml")"
# Get image list (removing the registry)
helm dep build ${chart}
image_list="$(yq '.annotations.images' "${chart}/Chart.yaml" | yq '[ .[] | .image | sub("^[^/]+/", "")] ] | tojson')"
image_list="$(yq '.annotations.images' "${chart}/Chart.yaml" | yq '[ .[] | .image | sub("^[^/]+/", "") ] | tojson')"
for dependency in "${chart}/charts/"*.tgz; do
if [[ -s "$dependency" ]]; then
# Analyse all 'Chart.yaml' files in dependencies