mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
Merge pull request #989 from flatcar/kai/fix-build-sysext
ci-automation/vms: Export official release variable
This commit is contained in:
commit
12de6d9b51
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,6 +15,7 @@
|
||||
# SDK container env passing helpers
|
||||
sdk_container/.env
|
||||
sdk_container/.sdkenv
|
||||
ci-cleanup.sh
|
||||
|
||||
# build cache / artefacts directories
|
||||
__build__/
|
||||
|
@ -102,6 +102,14 @@ 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')
|
||||
|
||||
source sdk_lib/sdk_container_common.sh
|
||||
|
||||
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}"
|
||||
|
Loading…
Reference in New Issue
Block a user