use other way to for

This commit is contained in:
Kjeld Schouten-Lebbing 2022-12-22 20:13:11 +01:00
parent 46c5d7e72d
commit d11a287e9e
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ jobs:
}
for train in stable SCALE incubator games enterprise develop non-free deprecated dependency core; do
for chart in charts/${train}/*; do
for chart in $(ls "$charts_path/$train"); do
chartname="$(basename "$(dirname "${chart}")")"
if [ -d "${chart}" ]; then
helm_sec_scan ${chart} ${chartname} ${train}