mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
fix(release_util): Compress vhd images.
This commit is contained in:
parent
c50e68f9d3
commit
eb72b6e570
@ -125,7 +125,7 @@ upload_image() {
|
||||
fi
|
||||
|
||||
# Compress disk images
|
||||
if [[ "${filename}" =~ \.(img|bin|vdi|vmdk)$ ]]; then
|
||||
if [[ "${filename}" =~ \.(img|bin|vdi|vhd|vmdk)$ ]]; then
|
||||
info "Compressing ${filename##*/}"
|
||||
$IMAGE_ZIPPER -f "${filename}"
|
||||
uploads+=( "${filename}${IMAGE_ZIPEXT}" )
|
||||
|
Loading…
Reference in New Issue
Block a user