Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 936 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 936 Bytes

YAMLLint container for CI/CD pipelines

Docker Snyk Container YAMLLint

This container is used to lint YAML files in CI/CD pipelines. It uses the YAMLLint tool to lint the YAML files.

Usage

Production ring

docker run --rm -v $(pwd):/data ghcr.io/cmgrayb/yamllint[:latest] yamllint FILE_OR_DIRECTORY [additional options]

Beta/nightly ring

docker run --rm -v $(pwd):/data ghcr.io/cmgrayb/yamllint:nightly yamllint FILE_OR_DIRECTORY [additional options]

Alpha ring

docker run --rm -v $(pwd):/data ghcr.io/cmgrayb/yamllint:main yamllint FILE_OR_DIRECTORY [additional options]