diff --git a/build-docker.sh b/build-docker.sh index 3e6a49e2a..25a8d7196 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -45,6 +45,8 @@ rm ./docker/deploy/ray.tar ./docker/deploy/git-rev if [ ! $SKIP_EXAMPLES ]; then if [ $OUTPUT_SHA ]; then IMAGE_SHA=$(docker build $NO_CACHE -q -t ray-project/examples docker/examples) + else + docker build --no-cache -t ray-project/examples docker/examples fi fi