@@ -243,7 +243,16 @@ build-vgpuguest-%: DOCKERFILE = $(CURDIR)/$(SUBDIR)/Dockerfile
243243# Remove '-grid' substring in the image tag
244244build-vgpuguest-% : DRIVER_TAG = $(DRIVER_VERSION:-grid= )
245245
246- build-vgpuguest-rhcos% : SUBDIR = rhel8
246+ # Source of truth https://access.redhat.com/articles/6907891
247+ build-vgpuguest-rhcos4.12% : SUBDIR = rhel8
248+ build-vgpuguest-rhcos4.13% : SUBDIR = rhel8
249+ build-vgpuguest-rhcos4.14% : SUBDIR = rhel8
250+ build-vgpuguest-rhcos4.15% : SUBDIR = rhel9
251+ build-vgpuguest-rhcos4.16% : SUBDIR = rhel9
252+ build-vgpuguest-rhcos4.17% : SUBDIR = rhel9
253+ build-vgpuguest-rhcos4.18% : SUBDIR = rhel9
254+ build-vgpuguest-rhcos4.19% : SUBDIR = rhel9
255+ build-vgpuguest-rhcos4.20% : SUBDIR = rhel9
247256
248257$(VGPU_GUEST_DRIVER_BUILD_TARGETS ) :
249258 DOCKER_BUILDKIT=1 \
@@ -280,7 +289,16 @@ build-vgpuhost-%: DIST = $(word 3,$(subst -, ,$@))
280289build-vgpuhost-% : SUBDIR = $(word 3,$(subst -, ,$@ ) )
281290build-vgpuhost-% : DOCKERFILE = $(CURDIR ) /vgpu-manager/$(SUBDIR ) /Dockerfile
282291
283- build-vgpuhost-rhcos% : SUBDIR = rhel8
292+ # Source of truth https://access.redhat.com/articles/6907891
293+ build-vgpuhost-rhcos4.12% : SUBDIR = rhel8
294+ build-vgpuhost-rhcos4.13% : SUBDIR = rhel8
295+ build-vgpuhost-rhcos4.14% : SUBDIR = rhel8
296+ build-vgpuhost-rhcos4.15% : SUBDIR = rhel9
297+ build-vgpuhost-rhcos4.16% : SUBDIR = rhel9
298+ build-vgpuhost-rhcos4.17% : SUBDIR = rhel9
299+ build-vgpuhost-rhcos4.18% : SUBDIR = rhel9
300+ build-vgpuhost-rhcos4.19% : SUBDIR = rhel9
301+ build-vgpuhost-rhcos4.20% : SUBDIR = rhel9
284302
285303$(VGPU_HOST_DRIVER_BUILD_TARGETS ) :
286304 DOCKER_BUILDKIT=1 \
0 commit comments