From 3fd9106c48f4445bc4931f95495114619caf34a5 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Wed, 28 Sep 2022 03:12:44 +0200 Subject: [PATCH] ci(images): Fix trigger for changes This patch fixes the gitlab-ci trigger, to not only cover the "root" directory of each image, but also all sub directories to trigger a new build in non-default branches. This is required to provide easy and quick testing of small changes such as the postfix config in the previous commit. --- images/.utils/gitlab-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/.utils/gitlab-ci.yaml b/images/.utils/gitlab-ci.yaml index 0b108b01e..78aedab3f 100644 --- a/images/.utils/gitlab-ci.yaml +++ b/images/.utils/gitlab-ci.yaml @@ -50,6 +50,6 @@ container-build-dev: rules: - if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"' changes: - - images/${IMAGE}/* + - images/${IMAGE}/**/* - images/.utils/* -- GitLab