From e14926a906b9851cb71435f91d3d2860d4b39eef Mon Sep 17 00:00:00 2001 From: Seokho Son Date: Mon, 30 Oct 2023 23:49:46 +0900 Subject: [PATCH] Fix outdated docker api version for script --- scripts/runContainer.sh | 3 +-- scripts/runMapUI.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/runContainer.sh b/scripts/runContainer.sh index dd16e3499..293382363 100755 --- a/scripts/runContainer.sh +++ b/scripts/runContainer.sh @@ -122,8 +122,7 @@ while true; do echo ========================================================== echo "[List of all version tags in hub.docker]" echo -e "${LGREEN}" - curl -s https://registry.hub.docker.com/v1/repositories/cloudbaristaorg/$CONTAINER_NAME/tags | \ - grep -oP '(?<="name": ")[^"]+' | sort -r + curl -s https://registry.hub.docker.com/v2/repositories/cloudbaristaorg/$CONTAINER_NAME/tags?page_size=1024 | jq '."results"[]["name"]' | tr -d \" | sort -V echo -e "${NC}" read -p "Please specify $CONTAINER_NAME_READ version you want (latest / $CONTAINER_VERSION / ...): " CONTAINER_VERSION echo diff --git a/scripts/runMapUI.sh b/scripts/runMapUI.sh index f029b8d75..6995359c2 100755 --- a/scripts/runMapUI.sh +++ b/scripts/runMapUI.sh @@ -1,7 +1,7 @@ #!/bin/bash CONTAINER_NAME_READ="CB-MapUI" -CONTAINER_VERSION="0.6.5" +CONTAINER_VERSION="0.7.3" CONTAINER_PORT="-p 1324:1324" CONTAINER_DATA_PATH=""