Skip to content

jeff-cook/yamllint

Repository files navigation

Docker Image for yamllint

Using yamllint Python module from https://github.com/adrienverge/yamllint.

yamllint documentation

Usage

Docker Run

docker run --rm -it -v $(pwd):/data registry.gitlab.com/jeff_cook/yamllint:latest yamllint .

GitLab CI Include

With GitLab CI you can include a pipeline file. Make sure you have added the pre_build stage to your pipeline.

include:
  - project: jeff_cook/yamllint
    ref: 0.1.2
    file: /.gitlab-ci/.gitlab-ci.yml

stages:
  - pre_build