From 5a3536b38e72ae40aed19ce29d5448d33698bddc Mon Sep 17 00:00:00 2001 From: Eugene Rakhmatulin Date: Tue, 24 Feb 2026 20:59:54 -0800 Subject: [PATCH] Fixed a bug where updated tags would cause git fetch to fail --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02835e7..4e224f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -90,7 +90,7 @@ RUN --mount=type=cache,id=repo-cache,target=/repo-cache \ echo "Cache hit: Fetching flashinfer updates..." && \ cd flashinfer && \ git fetch origin && \ - git fetch origin --tags && \ + git fetch origin --tags --force && \ (git checkout --detach origin/${FLASHINFER_REF} 2>/dev/null || git checkout ${FLASHINFER_REF}) && \ git submodule update --init --recursive && \ git clean -fdx && \ @@ -153,7 +153,7 @@ RUN --mount=type=cache,id=repo-cache,target=/repo-cache \ echo "Cache hit: Fetching updates..." && \ cd vllm && \ git fetch origin && \ - git fetch origin --tags && \ + git fetch origin --tags --force && \ (git checkout --detach origin/${VLLM_REF} 2>/dev/null || git checkout ${VLLM_REF}) && \ git submodule update --init --recursive && \ git clean -fdx && \