Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ecanuto authored Feb 25, 2024
1 parent b3f6045 commit f31e7e6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,20 @@ jobs:
- name: Rebuild image
run: |
sudo virt-customize -a *.qcow2 --verbose \
--install sl \
--install qemu-guest-agent \
--run-command "apt-get clean"
#--install qemu-guest-agent,locales-all,htop
- name: Cleanup image
run: sudo virt-sparsify --in-place *.qcow2
run: |
sudo virt-sparsify *.qcow2 test1.qcow2
sudo virt-sparsify *.qcow2 --compress test2.qcow2
# sudo virt-sparsify --in-place *.qcow2
# run: sudo virt-sparsify --compress --in-place *.qcow2

- name: Cleanup second fase
run: sudo virt-sparsify *.qcow2 --compress test.qcow2
run:

- name: Upload artifacts
run: |
Expand Down

0 comments on commit f31e7e6

Please sign in to comment.