Skip to content

Commit cb4ddab

Browse files
committed
fix CI
1 parent 2c46bf6 commit cb4ddab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jax-inference-offloading/dockerfile/oss.dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ ENV SRC_PATH_JIO=${BASE_PATH_JIO}/${SUB_PATH_JIO}
6262

6363
# Check out source code
6464
RUN <<"EOF" bash -ex -o pipefail
65-
git clone --branch ${REF_JIO} --no-checkout ${URL_JIO} ${BASE_PATH_JIO}
65+
git clone --no-checkout ${URL_JIO} ${BASE_PATH_JIO}
6666
pushd ${BASE_PATH_JIO}
6767
git sparse-checkout init --cone
6868
git sparse-checkout set ${SUB_PATH_JIO}
69+
git fetch origin ${REF_JIO}
70+
git checkout FETCH_HEAD
6971
popd
7072
git clone --branch ${REF_TUNIX} ${URL_TUNIX} ${SRC_PATH_TUNIX}
7173
EOF

0 commit comments

Comments
 (0)