only build container for the main branch
This commit is contained in:
		@@ -42,6 +42,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  release-image:
 | 
					  release-image:
 | 
				
			||||||
    needs: test
 | 
					    needs: test
 | 
				
			||||||
 | 
					    if: github.ref == 'refs/heads/main'
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      image: catthehacker/ubuntu:act-latest
 | 
					      image: catthehacker/ubuntu:act-latest
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user