You've already forked prometheus-fail2ban-exporter
							
							ci: restrict build step to main branch and tags (#6)
This commit is contained in:
		@@ -24,6 +24,9 @@ test:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
build:
 | 
					build:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
 | 
					  only:
 | 
				
			||||||
 | 
					    - main
 | 
				
			||||||
 | 
					    - tags
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - git fetch --tags
 | 
					    - git fetch --tags
 | 
				
			||||||
    - make build/snapshot
 | 
					    - make build/snapshot
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user