Tiny YAML linter Docker instance.
Available as: hyperized/yaml-linter at: https://cloud.docker.com/u/hyperized/repository/docker/hyperized/yaml-linter
Based on ruby:alpine.
Image size: 26 MB
Checking all the files (recursively) in current directory
docker run -v $(pwd):/m --rm -it hyperized/yaml-linter yaml-lint -i -q /mHow to check your code-base for YAML errors in Gitlab CI
image: hyperized/yaml-linter:latest
stages:
- yaml
yaml_lint:
stage: yaml
script:
- yaml-lint -i -q .