mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 08:31:04 +02:00
Merge pull request #226 from marineam/vhd
fix(release_util): Compress vhd images.
This commit is contained in:
commit
bfbb3ea06c
@ -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…
x
Reference in New Issue
Block a user