Container image containing the latest yamllint release
docker run --rm -v "$(pwd):/yaml" quay.io/mhutter/yamllint yamllint .
stages:
- lint
# ...
yaml_syntax:
stage: lint
image: quay.io/mhutter/yamllint
script:
# remove single-line ERB code upfront to make templates lintable
- find . -type f -name '*.y*ml.erb' -exec sed -i '/^<%.*%>$/d' {} \;
- yamllint $(find . -type f -name '*.y*ml.erb')
- yamllint $(find . -type f -name '*.y*ml')
#...
MIT (see LICENSE)
Manuel Hutter - GitHub @mhutter - Twitter @dratir
Content type
Image
Digest
Size
19.2 MB
Last updated
over 5 years ago
docker pull mhutter/yamllint