Tweaking of yq for README generation.

This commit is contained in:
2025-01-09 09:28:37 -05:00
parent 52779ed76c
commit 07d79873ec
+2 -2
View File
@@ -135,8 +135,8 @@ jobs:
- name: Generate README list
id: readme-list
run: |
yq ".services | to_entries | map({service: .key, image: .value.image})" docker-compose.yml
services_list=$(yq '.services | to_entries | map({service: .key, image: .value.image})' docker-compose.yml)
yq '.services | to_entries | map({"service": .key, "image": .value.image})' docker-compose.yml
services_list=$(yq '.services | to_entries | map({"service": .key, "image": .value.image})' docker-compose.yml)
echo "SERVICES_LIST=${services_list}" >> $GITHUB_ENV
- run: echo "${{ env.SERVICES_LIST }}"