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