From b4e2d019c19dd9dbcd2ce97b9784d0c3419e437d Mon Sep 17 00:00:00 2001 From: vishal Date: Tue, 13 Apr 2021 01:48:09 -0400 Subject: [PATCH] Add tags without hostnames to images (cherry picked from commit 2db1df87067d1a80abfdfef99db8d5ee3c9a9cdd) --- build/build-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build-image.sh b/build/build-image.sh index 54f724ec1f..ae61908698 100755 --- a/build/build-image.sh +++ b/build/build-image.sh @@ -34,8 +34,8 @@ if [ "${image}" == "python-predictor-gpu" ]; then cudnn=("7" "7" "8" "7" "8" "8" "8") for i in ${!cudnn[@]}; do build_args="${build_args} --build-arg CUDA_VERSION=${cuda[$i]} --build-arg CUDNN=${cudnn[$i]}" - docker build "$ROOT" -f $ROOT/images/$image/Dockerfile $build_args -t quay.io/cortexlabs/${image}:${CORTEX_VERSION}-cuda${cuda[$i]}-cudnn${cudnn[$i]} + docker build "$ROOT" -f $ROOT/images/$image/Dockerfile $build_args -t quay.io/cortexlabs/${image}:${CORTEX_VERSION}-cuda${cuda[$i]}-cudnn${cudnn[$i]} -t cortexlabs/${image}:${CORTEX_VERSION}-cuda${cuda[$i]}-cudnn${cudnn[$i]} done else - docker build "$ROOT" -f $ROOT/images/$image/Dockerfile $build_args -t quay.io/cortexlabs/${image}:${CORTEX_VERSION} + docker build "$ROOT" -f $ROOT/images/$image/Dockerfile $build_args -t quay.io/cortexlabs/${image}:${CORTEX_VERSION} -t cortexlabs/${image}:${CORTEX_VERSION} fi