mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
feat: rename pre-commit-terraform to pre-commit-opentofu, pt II
This commit is contained in:
parent
7f963c5906
commit
2e537a9cd4
10 changed files with 16 additions and 963 deletions
|
|
@ -15,7 +15,7 @@ function echo_error_and_exit {
|
|||
if [[ $(id -u) -ne 0 ]]; then
|
||||
echo_error_and_exit "Container must run as root. Use environment variable USERID to set user.\n" \
|
||||
"Example: \"TAG=latest && " \
|
||||
"docker run -e USERID=$(id -u):$(id -g) -v $(pwd):/lint -w /lint ghcr.io/antonbabenko/pre-commit-terraform:$TAG run -a\""
|
||||
"docker run -e USERID=$(id -u):$(id -g) -v $(pwd):/lint -w /lint ghcr.io/tofuutils/pre-commit-opentofu:$TAG run -a\""
|
||||
fi
|
||||
|
||||
# make sure USERID makes sense as UID:GID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue