mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-22 08:03:19 +01:00
KASM-3188 need another readme matrix as well
This commit is contained in:
parent
ba98d5a5a4
commit
6c3164d07b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user