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
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +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
TAG=v1.77.0
docker pull --platform linux/amd64 ghcr.io/antonbabenko/pre-commit-terraform:$TAG
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