Added the pre-commit
Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
This commit is contained in:
parent
118f7e44a9
commit
bd2f4b20a9
4
.local/bin/pre-commit
Executable file
4
.local/bin/pre-commit
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
TAG=latest
|
||||||
|
docker pull ghcr.io/antonbabenko/pre-commit-terraform:$TAG
|
||||||
|
docker run -e "USERID=$(id -u):$(id -g)" -v "$(pwd)":/lint -w /lint ghcr.io/antonbabenko/pre-commit-terraform:$TAG run -a
|
Loading…
Reference in New Issue
Block a user