mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-03 09:54:33 +00:00
kata-manager: Support xz and zst suffixes for the kata tarball
We moved to `.zst`, but users still use the upstream kata-manager to download older versions of the project, thus we need to support both suffixes. Fixes: #11714 Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
This commit is contained in:
committed by
Fabiano Fidêncio
parent
687d0bf94a
commit
63f6dcdeb9
@@ -219,7 +219,7 @@ github_get_release_file_url()
|
|||||||
|
|
||||||
case "$url" in
|
case "$url" in
|
||||||
*kata*)
|
*kata*)
|
||||||
regex="kata-static-${version}-${arch_regex}.tar.zst" ;;
|
regex="kata-static-${version}-${arch_regex}.tar.(xz|zst)" ;;
|
||||||
*nerdctl*)
|
*nerdctl*)
|
||||||
# Keep this *always* before the containerd check, as it comes from
|
# Keep this *always* before the containerd check, as it comes from
|
||||||
# the very same containerd organisation on GitHub.
|
# the very same containerd organisation on GitHub.
|
||||||
|
Reference in New Issue
Block a user