KASM-3188 need another readme matrix as well

This commit is contained in:
ryan.kuba 2022-09-08 13:42:01 -04:00
parent ba98d5a5a4
commit 6c3164d07b

View File

@ -673,8 +673,40 @@ update_readmes:
- ubuntu-focal-dind
- ubuntu-focal-dind-rootless
- unityhub
- vivaldi
- vlc
- vs-code
- zoom
- zsnes
update_readmes2:
stage: readme
script:
- apk add git
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@${README_TEMPLATE_REPO}
- sed -e "/{about}/r docs/$KASM_IMAGE/README.md" -e "/{about}/d" dockerhub-readme-template/TEMPLATE.md > docs/$KASM_IMAGE/FULL_README.md
- cat docs/$KASM_IMAGE/FULL_README.md
- >
docker run -v $PWD:/workspace
-e DOCKER_USERNAME="$README_USERNAME"
-e DOCKER_PASSWORD="$README_PASSWORD"
-e DOCKERHUB_REPOSITORY="${ORG_NAME}/$KASM_IMAGE-private"
-e README_FILEPATH="/workspace/docs/$KASM_IMAGE/FULL_README.md"
-e DESCRIPTION_FILEPATH="/workspace/docs/$KASM_IMAGE/description.txt"
${ORG_NAME}/dockerhub-updater:latest
- >
docker run -v $PWD:/workspace
-e DOCKER_USERNAME="$README_USERNAME"
-e DOCKER_PASSWORD="$README_PASSWORD"
-e DOCKERHUB_REPOSITORY="${ORG_NAME}/$KASM_IMAGE"
-e README_FILEPATH="/workspace/docs/$KASM_IMAGE/FULL_README.md"
-e DESCRIPTION_FILEPATH="/workspace/docs/$KASM_IMAGE/description.txt"
${ORG_NAME}/dockerhub-updater:latest
only:
variables:
- $README_USERNAME
- $README_PASSWORD
parallel:
matrix:
- KASM_IMAGE:
- vivaldi