Update .forgejo/workflows/build-images.yaml
This commit is contained in:
parent
95aa70a46a
commit
6ccc00d037
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# Path to the directory with metadata.yaml
|
# Path to the directory with metadata.yaml
|
||||||
context_dir="/workspace/pub/containers/apps/${{ github.event.inputs.app }}"
|
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/
|
||||||
ls -lhart /workspace/pub/containers/apps/home-assistant
|
ls -lhart /workspace/pub/containers/apps/home-assistant
|
||||||
|
@ -53,7 +53,7 @@ jobs:
|
||||||
platform=$(cat "$metadata_file" | yq ".channels[$i].platforms[$j]")
|
platform=$(cat "$metadata_file" | yq ".channels[$i].platforms[$j]")
|
||||||
|
|
||||||
# Append JSON object
|
# Append JSON object
|
||||||
result="${result}{\"channel\":\"${channel_name}\",\"platform\":\"${platform}\"},"
|
result="${result}{\"channel\":${channel_name},\"platform\":${platform}},"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
# Remove trailing comma
|
# Remove trailing comma
|
||||||
|
|
Loading…
Reference in a new issue