From 0f62416b14dcf9ef74dc620b0475d953ee1f34e6 Mon Sep 17 00:00:00 2001 From: Matthew McClaskey Date: Thu, 19 Sep 2024 10:46:28 +0000 Subject: [PATCH] KASM-6504 fix kasmos readme --- ci-scripts/readme.sh | 9 ++++++--- docs/core-kasmos/demo.txt | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ci-scripts/readme.sh b/ci-scripts/readme.sh index ed4ee8d..290124a 100755 --- a/ci-scripts/readme.sh +++ b/ci-scripts/readme.sh @@ -1,13 +1,16 @@ #! /bin/bash ## Parse input ## -NAME1=$1 -NAME2=$2 +FULLNAME="core-$1-$2" + +if [[ "$1" == "$2" ]] ; then + FULLNAME="core-$1" +fi ## Run readme updater ## docker run -v $PWD/docs:/docs \ -e RELEASE="$KASM_RELEASE" \ -e DOCKER_USERNAME="$README_USERNAME" \ -e DOCKER_PASSWORD="$README_PASSWORD" \ - -e DOCKERHUB_REPOSITORY="${ORG_NAME}/core-${NAME1}-${NAME2}" \ + -e DOCKERHUB_REPOSITORY="${ORG_NAME}/${FULLNAME}" \ kasmweb/dockerhub-updater:develop diff --git a/docs/core-kasmos/demo.txt b/docs/core-kasmos/demo.txt index 47aa17e..01bfa1e 100644 --- a/docs/core-kasmos/demo.txt +++ b/docs/core-kasmos/demo.txt @@ -2,7 +2,7 @@ **Launch a real-time demo in a new browser window:** Live Demo. - + ∗*This demo links to a KasmOS Desktop image to show the basic functionality of Kasm Workspaces.*