https://github.com/quentinn42/yamllint
252
Help :
$ docker run --rm quentinn42/yamllint --help
Run it
$ docker run --rm -v "${PWD}:/src/" quentinn42/yamllint /src
Gitlabci example:
Yamllint:
image:
name: quentinn42/yamllint
entrypoint: [""]
stage: tests
variables:
REPORT: $CI_PROJECT_DIR/report.xml
WORKING_DIR: $CI_PROJECT_DIR/
script:
- cd $WORKING_DIR
- python -m yamllint -f junitxml . > $REPORT
artifacts:
reports:
junit: $REPORT
Content type
Image
Digest
Size
26.1 MB
Last updated
over 4 years ago
docker pull quentinn42/yamllint