diff --git a/tools/get-images.sh b/tools/get-images.sh index 3bfd305..de990fe 100755 --- a/tools/get-images.sh +++ b/tools/get-images.sh @@ -3,6 +3,9 @@ # This script returns list of container images that are managed by this charm and/or its workload # # dynamic list + +set -xe + IMAGE_LIST=() IMAGE_LIST+=($(find -type f -name config.yaml -exec yq '.options | with_entries(select(.key | test("-image$"))) | .[].default' {} \; | tr -d '"')) printf "%s\n" "${IMAGE_LIST[@]}"