package-cache/.woodpecker/lint.yml

13 lines
426 B
YAML

---
pipeline:
shellcheck:
image: pipelinecomponents/shellcheck
group: lint
commands:
- find . -name .git -type d -prune -o -type f -name \*.sh -print0 | xargs -0 -r -t -n1 shellcheck
hadolint:
image: pipelinecomponents/hadolint
group: lint
commands:
- find . -name .git -type d -prune -o -type f \( -name Dockerfile\* -or -name Containerfile\* \) -print0 | xargs -0 -r -t -n1 hadolint