docker-pre-commit/.pre-commit-hooks.yaml

22 lines
584 B
YAML
Raw Normal View History

2020-05-19 20:27:54 +00:00
---
2018-05-21 17:31:29 +00:00
- id: docker-compose-check
name: Validate docker-compose files
2020-05-19 20:27:54 +00:00
description: Checks that docker-compose files are valid
language: script
2018-05-21 17:31:29 +00:00
entry: compose-check.sh
files: docker-compose.y[a]{0,1}ml$
2020-05-19 20:27:54 +00:00
- id: hadolint
name: Lint Dockerfiles
description: Deprecated! Runs hadolint Docker image to lint Dockerfiles
language: script
entry: hadolint-deprecation.sh
2020-05-19 20:27:54 +00:00
files: Dockerfile
2020-05-19 20:27:54 +00:00
- id: hadolint-system
name: Lint Dockerfiles
description: Deprecated! Runs system hadolint to lint Dockerfiles
language: script
entry: hadolint-deprecation.sh
2020-05-19 20:27:54 +00:00
files: Dockerfile