Skip to content

hyperized/yaml-linter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

yaml-linter

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

How to use

Docker stand-alone

Checking all the files (recursively) in current directory

docker run -v $(pwd):/m --rm -it hyperized/yaml-linter yaml-lint -i -q /m

.gitlab-ci.yml

How 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 .

About

Tiny YAML linter Docker instance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published