Skip to content

Commit

Permalink
fix: version in docker deploy mode
Browse files Browse the repository at this point in the history
  • Loading branch information
aronchanisme committed Oct 25, 2023
1 parent 28864fe commit 3070b8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
7 changes: 4 additions & 3 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
1 change: 0 additions & 1 deletion conf/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion conf/env.sh.default
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3070b8a

Please sign in to comment.