From 4a4a78e621d3daeb2fc98f4ea93e9bb4a42b0150 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Mon, 28 Oct 2024 19:26:51 +0000 Subject: [PATCH] WIP: fixup podvm_mkosi: try tar the qcow2 --- .github/workflows/podvm_mkosi.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/podvm_mkosi.yaml b/.github/workflows/podvm_mkosi.yaml index 6ac2d35dd..35a4f7843 100644 --- a/.github/workflows/podvm_mkosi.yaml +++ b/.github/workflows/podvm_mkosi.yaml @@ -320,13 +320,14 @@ jobs: mkdir oras cd oras cp ../build/podvm-*.qcow2 . + tar cJf podvm.tar.xz podvm-*.qcow2 image=${{ inputs.registry }}/podvm-generic-fedora if [ "${{inputs.debug}}" = "true" ]; then image=${image}-debug fi tag=${{ steps.image_tag.outputs.image_tag }} arch_tag=${tag}_${{ inputs.arch }} - oras push "${image}:${arch_tag}" podvm-*.qcow2 + oras push "${image}:${arch_tag}" podvm.tar.xz # We need to create the platform annotations with docker, since oras 1.2 doesn't support # pushing with platform yet. docker manifest create "${image}:${tag}" --amend "${image}:${arch_tag}"