File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55from bci_build .container_attributes import Arch
66from bci_build .container_attributes import SupportLevel
77from bci_build .containercrate import ContainerCrate
8+ from bci_build .os_version import CAN_BE_LATEST_OS_VERSION
89from bci_build .os_version import OsVersion
910from bci_build .package import DOCKERFILE_RUN
1011from bci_build .package import ApplicationStackContainer
@@ -65,7 +66,9 @@ def _get_kubevirt_kwargs(
6566 )
6667 ],
6768 "is_singleton_image" : True ,
68- "is_latest" : False ,
69+ "is_latest" : (
70+ os_version in CAN_BE_LATEST_OS_VERSION and os_version .is_tumbleweed
71+ ),
6972 "build_flavor" : service ,
7073 "version_in_uid" : False ,
7174 "use_build_flavor_in_tag" : False ,
Original file line number Diff line number Diff line change 55from bci_build .container_attributes import Arch
66from bci_build .container_attributes import SupportLevel
77from bci_build .containercrate import ContainerCrate
8+ from bci_build .os_version import CAN_BE_LATEST_OS_VERSION
89from bci_build .os_version import OsVersion
910from bci_build .package import DOCKERFILE_RUN
1011from bci_build .package import ApplicationStackContainer
@@ -55,7 +56,9 @@ def _get_cdi_kwargs(
5556 )
5657 ],
5758 "is_singleton_image" : True ,
58- "is_latest" : False ,
59+ "is_latest" : (
60+ os_version in CAN_BE_LATEST_OS_VERSION and os_version .is_tumbleweed
61+ ),
5962 "build_flavor" : service ,
6063 "version_in_uid" : False ,
6164 "package_list" : package_list ,
You can’t perform that action at this time.
0 commit comments