build: Add image size increase/decrease logic
All checks were successful
build-image / Build image (push) Successful in 8m10s
All checks were successful
build-image / Build image (push) Successful in 8m10s
This commit is contained in:
@ -85,6 +85,8 @@ jobs:
|
||||
qemu-system-x86 \
|
||||
qemu-utils
|
||||
|
||||
qemu-img resize ubuntu-vm/ubuntu.img +5G
|
||||
|
||||
[ -e /dev/kvm ] && kvm_flag="-enable-kvm" || kvm_flag=""
|
||||
|
||||
qemu-system-x86_64 \
|
||||
@ -98,6 +100,10 @@ jobs:
|
||||
-net nic \
|
||||
-net user
|
||||
|
||||
qemu-img convert -O qcow2 ubuntu-vm/ubuntu.img ubuntu-vm/ubuntu-compacted.img
|
||||
|
||||
ls -lash ubuntu-vm
|
||||
|
||||
# semrel:
|
||||
# name: Semantic Release
|
||||
# runs-on: ubuntu-latest
|
||||
|
Reference in New Issue
Block a user