Skip to content

Commit

Permalink
scripts(get-images): Include cache-image config (#336)
Browse files Browse the repository at this point in the history
Modify get-images.sh script in order to include cache-image from
`config.yaml` file.
Refs #335
  • Loading branch information
orfeas-k authored Sep 27, 2023
1 parent 1b1fbaf commit 93dbb5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/get-images.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
# dynamic list
IMAGE_LIST=()
IMAGE_LIST+=($(find -type f -name metadata.yaml -exec yq '.resources | to_entries | .[] | .value | ."upstream-source"' {} \;))
IMAGE_LIST+=($(find -type f -name config.yaml -exec yq '.options.cache-image | select(.) | .default' {} \;))
printf "%s\n" "${IMAGE_LIST[@]}"

0 comments on commit 93dbb5c

Please sign in to comment.