From 16e4e1764ad35772c72c1f8d04b722120f9a2b68 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Mon, 6 Oct 2025 07:00:04 -0400 Subject: [PATCH] yq quotes. --- .gitea/workflows/compose-services-readme.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/compose-services-readme.yml b/.gitea/workflows/compose-services-readme.yml index 336fa4a..aff1b5c 100644 --- a/.gitea/workflows/compose-services-readme.yml +++ b/.gitea/workflows/compose-services-readme.yml @@ -47,7 +47,7 @@ jobs: [ -z "$f" ] && continue echo "Processing $f" # Extract JSON array for this compose file - yq -o=json '.services | to_entries | map({service: .key, image: .value.image})' "$f" > tmp.json + yq -o=json '.services | to_entries | map({"service": .key, "image": .value.image})' "$f" > tmp.json # Merge all arrays into one JSON array-of-arrays jq -s 'add' temp_services.json tmp.json > temp_merged.json mv temp_merged.json temp_services.json