add entrypoint
This commit is contained in:
		
							parent
							
								
									6eb54d49f7
								
							
						
					
					
						commit
						4787970861
					
				@ -1 +1,5 @@
 | 
				
			|||||||
FROM golangci/golangci-lint:v1.25
 | 
					FROM golangci/golangci-lint:v1.25
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COPY entrypoint.sh /entrypoint.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENTRYPOINT ["/entrypoint.sh"]
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
golangci-lint run --out-format github-actions
 | 
					# shellcheck disable=SC2086
 | 
				
			||||||
 | 
					golangci-lint run --out-format github-actions ${FLAGS}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user