Added the pre-commit

Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
This commit is contained in:
y0rune authored and Marcin Woźniak committed 2023-04-05 11:31:34 +02:00
1 parent 118f7e44a9
commit bd2f4b20a9
1 file changed
+4
+4
View 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