mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
`docker_image` is intended to be a lightweight hook type similar to system / script which allows one to use an existing docker image which provides a hook.
8 lines
229 B
YAML
8 lines
229 B
YAML
- id: echo-entrypoint
|
|
name: echo (via --entrypoint)
|
|
language: docker_image
|
|
entry: --entrypoint echo cogniteev/echo
|
|
- id: echo-cmd
|
|
name: echo (via cmd)
|
|
language: docker_image
|
|
entry: cogniteev/echo echo
|