Merge pull request #13891 from rabbitmq/mergify/bp/v4.1.x/pr-13890
	
		
			
	
		
	
	
		
			
				
	
				Trigger a 4.1.x alpha release build / trigger_alpha_build (push) Waiting to run
				
					Details
				
			
		
	
				
					
				
			
				
	
				Trigger a 4.1.x alpha release build / trigger_alpha_build (push) Waiting to run
				
					Details
				
			
		
	CI: tweak OCI workflow trigger (backport #13890)
This commit is contained in:
		
						commit
						8c00510157
					
				|  | @ -5,13 +5,15 @@ | |||
| # | ||||
| name: OCI (make) | ||||
| on: | ||||
|   push: | ||||
|     paths-ignore: | ||||
|       - '.github/workflows/secondary-umbrella.yaml' | ||||
|       - '.github/workflows/update-elixir-patches.yaml' | ||||
|       - '.github/workflows/update-otp-patches.yaml' | ||||
|       - '.github/workflows/release-alphas.yaml' | ||||
|       - '*.md' | ||||
|   pull_request: | ||||
|     paths: | ||||
|       - deps/** | ||||
|       - scripts/** | ||||
|       - Makefile | ||||
|       - plugins.mk | ||||
|       - rabbitmq-components.mk | ||||
|       - packaging/** | ||||
|       - .github/workflows/oci-make.yaml | ||||
|   workflow_dispatch: | ||||
|     inputs: | ||||
|       otp_version: | ||||
|  | @ -25,7 +27,7 @@ on: | |||
|         default: false | ||||
| env: | ||||
|   REGISTRY_IMAGE: pivotalrabbitmq/rabbitmq | ||||
|   VERSION: 4.1.0+${{ github.sha }} | ||||
|   VERSION: 4.2.0+${{ github.sha }} | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||||
|   cancel-in-progress: true | ||||
|  | @ -37,6 +39,8 @@ jobs: | |||
|         - ${{ github.event.inputs.otp_version || '27' }} | ||||
|     runs-on: ubuntu-latest | ||||
|     outputs: | ||||
|       # When dependabot, or a user from a fork, creates PRs, secrets are not injected, and the OCI workflow can't push the image | ||||
|       # This check acts as a gate keeper | ||||
|       authorized: ${{ steps.authorized.outputs.authorized }} | ||||
|     steps: | ||||
|       - name: CHECK IF IMAGE WILL PUSH | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue