From 6509962880f8e4e7f0837bdea7cbe2b07b018233 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 4 Nov 2023 16:01:26 +0100 Subject: [PATCH] .github: copy all rootfs-oci files from all builds This is for composing the resulting multi-arch image. Signed-off-by: Joachim Wiberg --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e115989..ef9b39c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |