Merge pull request #13890 from rabbitmq/tweak-oci-triggers
Trigger a 4.2.x alpha release build / trigger_alpha_build (push) Has been cancelled Details
Test (make) / Build and Xref (1.17, 26) (push) Has been cancelled Details
Test (make) / Build and Xref (1.17, 27) (push) Has been cancelled Details
Test (make) / Test (1.17, 27, khepri) (push) Has been cancelled Details
Test (make) / Test (1.17, 27, mnesia) (push) Has been cancelled Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Has been cancelled Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Has been cancelled Details
Test (make) / Type check (1.17, 27) (push) Has been cancelled Details

CI: tweak OCI workflow trigger
This commit is contained in:
Aitor Pérez Cedres 2025-05-13 16:49:13 +00:00 committed by GitHub
commit 98d1634ce3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#
name: OCI (make)
on:
push:
pull_request:
paths:
- deps/**
- scripts/**
@ -27,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
@ -39,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