Skip to content

Yamllint Container Image

Alpine-based yamllint runtime for validating YAML locally and in CI/CD.

Features

Usage

Pull the image

podman pull registry.gitlab.com/niclas-zone/ctr/yamllint:latest

Lint YAML files

podman run --rm \
  -v $(pwd):/data \
  -w /data \
  registry.gitlab.com/niclas-zone/ctr/yamllint:latest \
  yamllint .

GitLab CI snippet

lint:
  image: registry.gitlab.com/niclas-zone/ctr/yamllint:latest
  script:
    - yamllint .

Author

Niclas Heinz

Contributing

Contributions are welcome! Please open an issue or submit a merge request if you have suggestions or improvements.

License

This project is licensed under the MIT License. See LICENSE for details.