Sign inSign up

mhutter/yamllint

By mhutter

•Updated over 5 years ago

Image
0

2.3K

mhutter/yamllint repository overview

⁠YAMLlint image

Docker Repository on Quay

Container image containing the latest yamllint⁠ release

⁠Usage

docker run --rm -v "$(pwd):/yaml" quay.io/mhutter/yamllint yamllint .
⁠In gitlab ci runner
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')
#...

⁠License

MIT (see LICENSE)


Tag summary

Content type

Image

Digest

Size

19.2 MB

Last updated

over 5 years ago

docker pull mhutter/yamllint