Changes in the pre-commit

This commit is contained in:
Marcin Woźniak 2023-04-11 10:22:05 +02:00
parent f7e09f6783
commit 80ca523cdc
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
TAG=latest TAG=v1.77.0
docker pull ghcr.io/antonbabenko/pre-commit-terraform:$TAG docker pull --platform linux/amd64 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 docker run --platform linux/amd64 -e "USERID=$(id -u):$(id -g)" -v "$(pwd)":/lint -w /lint ghcr.io/antonbabenko/pre-commit-terraform:$TAG run -a