[Rocm][CI] add dockerfile.xpu to rocm ci artifact (#53949)

Signed-off-by: charlifu <charlifu@amd.com>
This commit is contained in:
Charlie Fu
2026-08-27 01:06:48 -07:00
committed by GitHub
parent 79651d6085
commit fd57c4b7af
@@ -154,7 +154,12 @@ def test_vllm_openai_image_embeds_metadata_contract() -> None:
def test_rust_build_cache_excludes_git_metadata() -> None:
for name in ("Dockerfile", "Dockerfile.cpu", "Dockerfile.xpu"):
from vllm.platforms import current_platform
dockerfile_names = ["Dockerfile", "Dockerfile.cpu"]
if not current_platform.is_rocm():
dockerfile_names.append("Dockerfile.xpu")
for name in dockerfile_names:
dockerfile = (REPO_ROOT / "docker" / name).read_text()
cached_stage, exact_version_stage = dockerfile.split(
"FROM rust-build-cache AS rust-build", maxsplit=1