[CI] Resolve release V2 docker build after ROCm CI wheels change (#44463)

Signed-off-by: Andreas Karatzas <[email protected]>
This commit is contained in:
Andreas Karatzas
2026-06-03 21:35:40 -07:00
committed by GitHub
parent 4f423bd5bc
commit 5e2af28838
2 changed files with 8 additions and 2 deletions
-2
View File
@@ -37,6 +37,4 @@ rust/target/
docs/
.github/
.pre-commit-config.yaml
.clang-format
.gitattributes
format.sh
+8
View File
@@ -1,6 +1,14 @@
#!/bin/bash
# Checks whether the repo is clean and whether tags are available (necessary to correctly produce vllm version at build time)
# Some Docker builds intentionally omit tracked, non-build files from the
# context. Restore only those paths from the mounted .git object database before
# checking cleanliness so release builds still see a coherent worktree.
if [ -f /.dockerenv ]; then
git ls-files -z -- docs .github .pre-commit-config.yaml format.sh \
| git checkout-index -f -z --stdin
fi
if ! git diff --quiet; then
echo "Repo is dirty" >&2