forked from kamba4/sunders
		
	Containerizes application #12
					 1 changed files with 7 additions and 6 deletions
				
			
		
				commit
				
					
					
						1e6f858426
					
				
			
		|  | @ -32,20 +32,21 @@ jobs: | ||||||
|             echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT |             echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT | ||||||
|           fi |           fi | ||||||
| 
 | 
 | ||||||
|       - name: Build images |       - name: Build web image | ||||||
|         run: | |         run: | | ||||||
|           pushd ./web |  | ||||||
|           docker build -f ./Containerfile -t git.hamburg.ccc.de/ccchh/sunders/web:${{ steps.vars.outputs.tag }} . |           docker build -f ./Containerfile -t git.hamburg.ccc.de/ccchh/sunders/web:${{ steps.vars.outputs.tag }} . | ||||||
|           popd |         working-directory: ./web | ||||||
|           pushd ./data_handler | 
 | ||||||
|  |       - name: Build data_handler image | ||||||
|  |         run: | | ||||||
|           docker build -f ./Containerfile -t git.hamburg.ccc.de/ccchh/sunders/data_handler:${{ steps.vars.outputs.tag }} . |           docker build -f ./Containerfile -t git.hamburg.ccc.de/ccchh/sunders/data_handler:${{ steps.vars.outputs.tag }} . | ||||||
|           popd |         working-directory: ./data_handler | ||||||
| 
 | 
 | ||||||
|       - name: Push images to Container Registry |       - name: Push images to Container Registry | ||||||
|         run: | |         run: | | ||||||
|           docker push git.hamburg.ccc.de/ccchh/sunders/web:${{ steps.vars.outputs.tag }} |           docker push git.hamburg.ccc.de/ccchh/sunders/web:${{ steps.vars.outputs.tag }} | ||||||
|           docker push git.hamburg.ccc.de/ccchh/sunders/data_handler:${{ steps.vars.outputs.tag }} |           docker push git.hamburg.ccc.de/ccchh/sunders/data_handler:${{ steps.vars.outputs.tag }} | ||||||
|         if: github.event_name == 'push' && github.ref_name == 'main' |         if: github.event_name == 'push' | ||||||
| 
 | 
 | ||||||
|       - name: Update docker-compose.yml image tags |       - name: Update docker-compose.yml image tags | ||||||
|         run: | |         run: | | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue