From 3070b8a365146172a57ede9b22af64c264f5b656 Mon Sep 17 00:00:00 2001 From: aronchanisme Date: Wed, 25 Oct 2023 18:13:08 +0800 Subject: [PATCH] fix: version in docker deploy mode --- bin/deploy.sh | 7 ++++--- conf/env.sh | 1 - conf/env.sh.default | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/deploy.sh b/bin/deploy.sh index 5f68798..a2508a9 100644 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -150,10 +150,11 @@ function deploy_docker() if [[ "${mo_version}" == "main" ]]; then MO_IMAGE_FULL="${MO_REPO}:latest" - elif [[ "${mo_version}" != "${cid}" ]]; then - MO_IMAGE_FULL="${MO_REPO}:${mo_version}" + #elif [[ "${mo_version}" != "${cid}" ]]; then + # MO_IMAGE_FULL="${MO_REPO}:${mo_version}" else - MO_IMAGE_FULL="${MO_REPO}:${MO_IMAGE_PREFIX}-${mo_version}" + #MO_IMAGE_FULL="${MO_REPO}:${MO_IMAGE_PREFIX}-${mo_version}" + MO_IMAGE_FULL="${MO_REPO}:${mo_version}" fi set_conf MO_IMAGE_FULL="${MO_IMAGE_FULL}" diff --git a/conf/env.sh b/conf/env.sh index 8fa9f8d..407622e 100644 --- a/conf/env.sh +++ b/conf/env.sh @@ -32,7 +32,6 @@ MO_PW="111" # mo deploy mode: docker | host MO_DEPLOY_MODE="host" MO_REPO="matrixorigin/matrixone" -MO_IMAGE_PREFIX="nightly" MO_IMAGE_FULL="" MO_CONTAINER_NAME="mo" MO_CONTAINER_PORT="6001" diff --git a/conf/env.sh.default b/conf/env.sh.default index 8fa9f8d..407622e 100644 --- a/conf/env.sh.default +++ b/conf/env.sh.default @@ -32,7 +32,6 @@ MO_PW="111" # mo deploy mode: docker | host MO_DEPLOY_MODE="host" MO_REPO="matrixorigin/matrixone" -MO_IMAGE_PREFIX="nightly" MO_IMAGE_FULL="" MO_CONTAINER_NAME="mo" MO_CONTAINER_PORT="6001"