Skip to content

Commit

Permalink
[CI/Build] (2/2) Switching AMD CI to store images in Docker Hub (vllm…
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel14 authored and jimpang committed Jul 24, 2024
1 parent 6ea59e9 commit f2fb555
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .buildkite/run-amd-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,10 @@ while true; do
fi
done

echo "--- Building container"
sha=$(git rev-parse --short HEAD)
image_name=rocm_${sha}
container_name=rocm_${sha}_$(tr -dc A-Za-z0-9 < /dev/urandom | head -c 10; echo)
docker build \
-t ${image_name} \
-f Dockerfile.rocm \
--progress plain \
.
echo "--- Pulling container"
image_name="rocmshared/vllm-ci:${BUILDKITE_COMMIT}"
container_name="rocm_${BUILDKITE_COMMIT}_$(tr -dc A-Za-z0-9 < /dev/urandom | head -c 10; echo)"
docker pull ${image_name}

remove_docker_container() {
docker rm -f ${container_name} || docker image rm -f ${image_name} || true
Expand Down

0 comments on commit f2fb555

Please sign in to comment.