Unverified Commit d26a8b3f authored by adityagoel14's avatar adityagoel14 Committed by GitHub
Browse files

[CI/Build] (2/2) Switching AMD CI to store images in Docker Hub (#6350)

parent d59eb984
...@@ -45,15 +45,10 @@ while true; do ...@@ -45,15 +45,10 @@ while true; do
fi fi
done done
echo "--- Building container" echo "--- Pulling container"
sha=$(git rev-parse --short HEAD) image_name="rocmshared/vllm-ci:${BUILDKITE_COMMIT}"
image_name=rocm_${sha} container_name="rocm_${BUILDKITE_COMMIT}_$(tr -dc A-Za-z0-9 < /dev/urandom | head -c 10; echo)"
container_name=rocm_${sha}_$(tr -dc A-Za-z0-9 < /dev/urandom | head -c 10; echo) docker pull ${image_name}
docker build \
-t ${image_name} \
-f Dockerfile.rocm \
--progress plain \
.
remove_docker_container() { remove_docker_container() {
docker rm -f ${container_name} || docker image rm -f ${image_name} || true docker rm -f ${container_name} || docker image rm -f ${image_name} || true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment