workspaces-images/ci-scripts
2023-07-11 15:59:02 +00:00
..
build.sh Resolve KASM-3718 "Feature/ gate images 2" 2023-07-11 15:59:02 +00:00
manifest.sh Resolve KASM-3718 "Feature/ gate images 2" 2023-07-11 15:59:02 +00:00
readme.sh Resolve KASM-3718 "Feature/ gate images 2" 2023-07-11 15:59:02 +00:00
test.sh Resolve KASM-3718 "Feature/ gate images 2" 2023-07-11 15:59:02 +00:00

#! /bin/bash

## Parse input ##
NAME=$(echo $1| awk -F'|' '{print $1}')

## 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}/${NAME}" \
  kasmweb/dockerhub-updater:develop