diff --git a/ci-automation/vms.sh b/ci-automation/vms.sh index 1a64b7fda84..bc39eb7b40a 100644 --- a/ci-automation/vms.sh +++ b/ci-automation/vms.sh @@ -62,6 +62,7 @@ function _vm_build_impl() { shift # $@ now contains image formats to build + source sdk_lib/sdk_container_common.sh source ci-automation/ci_automation_common.sh source ci-automation/gpg_setup.sh @@ -102,6 +103,12 @@ function _vm_build_impl() { # Keep compatibility with SDK scripts where "equinix_metal" remains unknown. formats=$(echo "$formats" | tr ' ' '\n' | sed 's/equinix_metal/packet/g') + if is_official "${vernum}"; then + export COREOS_OFFICIAL=1 + else + export COREOS_OFFICIAL=0 + fi + local images_in="images-in/" local file rm -rf "${images_in}"