myhome/.local/bin/pre-commit
Marcin Woźniak bd2f4b20a9 Added the pre-commit
Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
2023-04-05 11:31:34 +02:00

5 lines
204 B
Bash
Executable File

#!/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