mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-07 05:47:53 +00:00
chore: investigate reading module array
This commit is contained in:
3
build.sh
3
build.sh
@@ -27,8 +27,11 @@ echo "Building $IMAGE_NAME from Fedora $FEDORA_VERSION ($BASE_IMAGE)."
|
||||
|
||||
# Run each module
|
||||
MODULES=$(get_yaml_array '.modules')
|
||||
echo "$MODULES"
|
||||
|
||||
for module in "${MODULES[@]}"; do
|
||||
echo "$module"
|
||||
|
||||
TYPE=$(echo "$module" | yq '.type')
|
||||
|
||||
echo "Launching module of type: $TYPE"
|
||||
|
||||
Reference in New Issue
Block a user