Sign inSign up

orginux/yamllint

By orginux

•Updated almost 5 years ago

Only yamllint

Image
0

1.5K

orginux/yamllint repository overview

⁠docker-yamllint

Docker image based on python3.9 with installed yamllint⁠

⁠Run in Docker

Run linter for all files in the current directory

docker run --rm -it -v ${PWD}:/yamllint orginux/yamllint yamllint *.y*ml

Change $PWD on a path in the local file system

⁠Run in GitLab-CI
---
yamllint:
  image: orginux/yamllint:1.25.0
  stage: lint
  variables:
    MAX_LEN: 120
    YAMLLINT_CONFIG: "{rules: {line-length: {max: $MAX_LEN}}}"
  script:
    - yamllint -d "$YAMLLINT_CONFIG" path/to/file.yml
...

Tag summary

Content type

Image

Digest

Size

19.2 MB

Last updated

over 5 years ago

docker pull orginux/yamllint