Add image build gate
We already publish the image to quay.io/airshipit/sip using Quay triggers on every push to the main branch; however, we do not verify that the image will build before merging. This commit adds a simple job to verify that the image will build before merging.
This commit is contained in:
		
							
								
								
									
										18
									
								
								.github/workflows/docker-build.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								.github/workflows/docker-build.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | |||||||
|  | name: Build Docker Image | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   push: | ||||||
|  |     branches: [ master ] | ||||||
|  |   pull_request: | ||||||
|  |     branches: [ master ] | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |  | ||||||
|  |   build: | ||||||
|  |  | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |  | ||||||
|  |     steps: | ||||||
|  |     - uses: actions/checkout@v2 | ||||||
|  |     - name: Build Docker image | ||||||
|  |       run: make docker-build | ||||||
| @@ -1,5 +1,7 @@ | |||||||
| # SIP Cluster Operator | # SIP Cluster Operator | ||||||
|  |  | ||||||
|  | [](https://quay.io/repository/airshipit/sip) | ||||||
|  |  | ||||||
| ## Overview | ## Overview | ||||||
|  |  | ||||||
| The lifecycle of the VM's and their relationship to Cluster will be managed using two operators: vNode-Operator(ViNO) and the Support Infra Provider Operator (SIP) . | The lifecycle of the VM's and their relationship to Cluster will be managed using two operators: vNode-Operator(ViNO) and the Support Infra Provider Operator (SIP) . | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Drew Walters
					Drew Walters