Skip to content

Commit

Permalink
.github: copy all rootfs-oci files from all builds
Browse files Browse the repository at this point in the history
This is for composing the resulting multi-arch image.

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Nov 4, 2023
1 parent e3caadf commit 6509962
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ jobs:
tar xf $file
done
mkdir rootfs-oci
cp curios-*/* rootfs-oci/
cp -af curios-*/rootfs-oci/* rootfs-oci/
jq -s '.[0].manifests=[.[].manifests|add]|.[0]' curios-*/index.json > rootfs-oci/index.json
echo "Resulting files =========================================="
ls -l rootfs-oci/
echo "Resulting index.json ====================================="
cat rootfs-oci/index.json
- name: Log in to registry
run: |
Expand Down

0 comments on commit 6509962

Please sign in to comment.