From ed033772cbf677c8fd4b6e71efe29e4978b90a15 Mon Sep 17 00:00:00 2001 From: Aitor Perez <1515757+Zerpet@users.noreply.github.com> Date: Fri, 14 Mar 2025 17:09:01 +0000 Subject: [PATCH 1/2] Trigger OCI builds only on code changes Prior to this change, we built the OCI for almost any change. That doesn't make sense. For example, when there were changes to CI, it didn't make because RabbitMQ had not changed. CI will now build dev OCI images when there are actual code changes, or changes to rabbit dependencies. --- .github/workflows/oci-make.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/oci-make.yaml b/.github/workflows/oci-make.yaml index 72767c326cfd..141b02a7f68f 100644 --- a/.github/workflows/oci-make.yaml +++ b/.github/workflows/oci-make.yaml @@ -6,12 +6,12 @@ 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' + paths: + - deps/** + - scripts/** + - Makefile + - plugins.mk + - rabbitmq-components.mk workflow_dispatch: inputs: otp_version: From 8fc3ce990a7e070e472ae577dde905873210e1a9 Mon Sep 17 00:00:00 2001 From: Aitor Perez <1515757+Zerpet@users.noreply.github.com> Date: Fri, 14 Mar 2025 17:15:20 +0000 Subject: [PATCH 2/2] Trigger OCI builds on changes to its Dockerfile --- .github/workflows/oci-make.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/oci-make.yaml b/.github/workflows/oci-make.yaml index 141b02a7f68f..51b120960342 100644 --- a/.github/workflows/oci-make.yaml +++ b/.github/workflows/oci-make.yaml @@ -12,6 +12,8 @@ on: - Makefile - plugins.mk - rabbitmq-components.mk + - packaging/** + - .github/workflows/oci-make.yaml workflow_dispatch: inputs: otp_version: