2023-04-05 11:31:34 +02:00
|
|
|
#!/bin/bash
|
2023-04-11 10:22:05 +02:00
|
|
|
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
|