From 6ccc00d037dc98d18e0470acc8b10137871e1a5a Mon Sep 17 00:00:00 2001 From: tommy Date: Fri, 3 Jan 2025 16:25:53 +0000 Subject: [PATCH] Update .forgejo/workflows/build-images.yaml --- .forgejo/workflows/build-images.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-images.yaml b/.forgejo/workflows/build-images.yaml index 9360c8d..e20d341 100644 --- a/.forgejo/workflows/build-images.yaml +++ b/.forgejo/workflows/build-images.yaml @@ -26,7 +26,7 @@ jobs: run: | # Path to the directory with metadata.yaml context_dir="/workspace/pub/containers/apps/${{ github.event.inputs.app }}" - metadata_file="${context_dir}/metadata.yaml" + metadata_file="$context_dir/metadata.yaml" ls -lhart /workspace/pub/containers/apps/ ls -lhart /workspace/pub/containers/apps/home-assistant @@ -53,7 +53,7 @@ jobs: platform=$(cat "$metadata_file" | yq ".channels[$i].platforms[$j]") # Append JSON object - result="${result}{\"channel\":\"${channel_name}\",\"platform\":\"${platform}\"}," + result="${result}{\"channel\":${channel_name},\"platform\":${platform}}," done done # Remove trailing comma