diff --git a/docker/start_app.sh b/docker/start_app.sh index 092475483b..8801cb3811 100755 --- a/docker/start_app.sh +++ b/docker/start_app.sh @@ -21,9 +21,9 @@ source $DOCKER_FOLDER/docker_build_common.sh declare -r VERSION=${REVISION:-${VERSION:-main}} declare -r ACCOUNT=${ACCOUNT:-opensource4you} if [[ "$VERSION" == "main" ]]; then - declare -r IMAGE_NAME="ghcr.io/${ACCOUNT}/astraea/app:latest" + declare -r IMAGE_NAME="ghcr.io/${ACCOUNT,,}/astraea/app:latest" else - declare -r IMAGE_NAME="ghcr.io/${ACCOUNT}/astraea/app:$VERSION" + declare -r IMAGE_NAME="ghcr.io/${ACCOUNT,,}/astraea/app:$VERSION" fi declare -r DOCKERFILE=$DOCKER_FOLDER/app.dockerfile declare -r JMX_PORT=${JMX_PORT:-"$(getRandomPort)"} diff --git a/docker/start_broker.sh b/docker/start_broker.sh index 8f5867b799..20223e37a8 100755 --- a/docker/start_broker.sh +++ b/docker/start_broker.sh @@ -44,7 +44,7 @@ declare -r JMX_OPTS="-Dcom.sun.management.jmxremote \ -Djava.rmi.server.hostname=$ADDRESS" declare -r HEAP_OPTS="${HEAP_OPTS:-"-Xmx2G -Xms2G"}" declare -r BROKER_PROPERTIES="/tmp/server-${BROKER_PORT}.properties" -declare -r IMAGE_NAME="ghcr.io/${ACCOUNT}/astraea/broker:$KAFKA_VERSION" +declare -r IMAGE_NAME="ghcr.io/${ACCOUNT,,}/astraea/broker:$KAFKA_VERSION" declare -r METADATA_VERSION=${METADATA_VERSION:-""} # cleanup the file if it is existent [[ -f "$BROKER_PROPERTIES" ]] && rm -f "$BROKER_PROPERTIES" diff --git a/docker/start_controller.sh b/docker/start_controller.sh index 12bc1828aa..d3d4b012a4 100755 --- a/docker/start_controller.sh +++ b/docker/start_controller.sh @@ -61,7 +61,7 @@ declare -r JMX_OPTS="-Dcom.sun.management.jmxremote \ -Djava.rmi.server.hostname=$ADDRESS" declare -r HEAP_OPTS="${HEAP_OPTS:-"-Xmx2G -Xms2G"}" declare -r CONTROLLER_PROPERTIES="/tmp/controller-${CONTROLLER_PORT}.properties" -declare -r IMAGE_NAME="ghcr.io/${ACCOUNT}/astraea/controller:$KAFKA_VERSION" +declare -r IMAGE_NAME="ghcr.io/${ACCOUNT,,}/astraea/controller:$KAFKA_VERSION" declare -r METADATA_VERSION=${METADATA_VERSION:-""} # cleanup the file if it is existent [[ -f "$CONTROLLER_PROPERTIES" ]] && rm -f "$CONTROLLER_PROPERTIES" diff --git a/docker/start_worker.sh b/docker/start_worker.sh index d2449e2ea1..2b19979e86 100755 --- a/docker/start_worker.sh +++ b/docker/start_worker.sh @@ -34,7 +34,7 @@ declare -r JMX_OPTS="-Dcom.sun.management.jmxremote \ declare -r HEAP_OPTS="${HEAP_OPTS:-"-Xmx2G -Xms2G"}" declare -r WORKER_PROPERTIES="/tmp/worker-${WORKER_PORT}.properties" declare -r WORKER_PLUGIN_PATH=${WORKER_PLUGIN_PATH:-/tmp/worker-plugins} -declare -r IMAGE_NAME="ghcr.io/${ACCOUNT}/astraea/worker:$VERSION" +declare -r IMAGE_NAME="ghcr.io/${ACCOUNT,,}/astraea/worker:$VERSION" declare -r SCRIPT_LOCATION_IN_CONTAINER="./bin/connect-distributed.sh" # cleanup the file if it is existent [[ -f "$WORKER_PROPERTIES" ]] && rm -f "$WORKER_PROPERTIES"