From 9eb8d53b5de1b05e7191f4c1b8180f1fb7e95926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Tue, 11 Apr 2023 10:22:05 +0200 Subject: [PATCH] Changes in the pre-commit --- .local/bin/pre-commit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.local/bin/pre-commit b/.local/bin/pre-commit index c87c7ed..69073fc 100755 --- a/.local/bin/pre-commit +++ b/.local/bin/pre-commit @@ -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