Skip to content

Commit

Permalink
WIP: fixup podvm_mkosi: try tar the qcow2
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhorsman committed Oct 28, 2024
1 parent 958477d commit 4a4a78e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/podvm_mkosi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 4a4a78e

Please sign in to comment.