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)
|
name: OCI (make)
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
paths-ignore:
|
paths:
|
||||||
- '.github/workflows/secondary-umbrella.yaml'
|
- deps/**
|
||||||
- '.github/workflows/update-elixir-patches.yaml'
|
- scripts/**
|
||||||
- '.github/workflows/update-otp-patches.yaml'
|
- Makefile
|
||||||
- '.github/workflows/release-alphas.yaml'
|
- plugins.mk
|
||||||
- '*.md'
|
- rabbitmq-components.mk
|
||||||
|
- packaging/**
|
||||||
|
- .github/workflows/oci-make.yaml
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
otp_version:
|
otp_version:
|
||||||
|
|
@ -25,7 +27,7 @@ on:
|
||||||
default: false
|
default: false
|
||||||
env:
|
env:
|
||||||
REGISTRY_IMAGE: pivotalrabbitmq/rabbitmq
|
REGISTRY_IMAGE: pivotalrabbitmq/rabbitmq
|
||||||
VERSION: 4.1.0+${{ github.sha }}
|
VERSION: 4.2.0+${{ github.sha }}
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
@ -37,6 +39,8 @@ jobs:
|
||||||
- ${{ github.event.inputs.otp_version || '27' }}
|
- ${{ github.event.inputs.otp_version || '27' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
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 }}
|
authorized: ${{ steps.authorized.outputs.authorized }}
|
||||||
steps:
|
steps:
|
||||||
- name: CHECK IF IMAGE WILL PUSH
|
- name: CHECK IF IMAGE WILL PUSH
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue