From 1f12767c7112fef2e17a1f5e7cd3d290011bb816 Mon Sep 17 00:00:00 2001 From: amirnd51 Date: Wed, 24 Jul 2024 01:15:53 +0000 Subject: [PATCH] chore: Update build-container.sh to use mlmodelscope-api in docker build command --- scripts/build-container.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-container.sh b/scripts/build-container.sh index 5564153..a857829 100755 --- a/scripts/build-container.sh +++ b/scripts/build-container.sh @@ -36,9 +36,9 @@ if [ ! -f "$DOCKERFILE" ]; then die_with_message "Dockerfile ${DOCKERFILE} does not exist" fi -IMAGE_NAME="$REGISTRY/$TARGET:$VERSION" +IMAGE_NAME="$REGISTRY/mlmodelscope-api:$VERSION" docker build -t "$IMAGE_NAME" --file "$DOCKERFILE" "$TARGET_DIR" -docker tag "$IMAGE_NAME" "$REGISTRY/$TARGET:latest" +# docker tag "$IMAGE_NAME" "$REGISTRY/mlmodelscope-api:latest" cleanup_and_exit