Docker container allowing you to update the readme of a project.
4.6K
Docker container allowing you to update the readme of a project.
This images uses the variable $README_PATH to determine which readme to push.
If not specified, the path will be guessed from $CI_PROJECT_DIR. Value will be $CI_PROJECT_DIR/README.md
It logs into docker using the following credentials (env variables):
$DOCKER_USER$DOCKER_PASSWORDThe path to the Docker repo can be set using $DOCKER_DESTINATION variable.
The format is <user>/<repo>. If not specified, the destination will be guessed from $DOCKER_USER and $CI_PROJECT_NAME.
See CI/CD catalog
include:
- component: $CI_SERVER_FQDN/vnv/containers/docker-hub-readme-updater/docker-hub-description-updater@<VERSION>
inputs:
stage: push-readme
destination: vnvsa/example
readme_path: $CI_PROJECT_DIR/README.md
Put the following into your .gitlab-ci.yml:
Readme:
stage: push-readme
image: vnvsa/docker-hub-readme-updater:latest
needs: []
script:
- echo ":-)"
Pull requests, bug reports, and feature requests are welcome.
MIT License. See the LICENSE file.
Content type
Image
Digest
sha256:eac4738c6…
Size
7.5 MB
Last updated
4 days ago
docker pull vnvsa/docker-hub-readme-updater