Added the pre-commit
Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
This commit is contained in:
		
							
								
								
									
										4
									
								
								.local/bin/pre-commit
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								.local/bin/pre-commit
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +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
 | 
			
		||||
		Reference in New Issue
	
	Block a user