From a68fbb4f9f2f934f390dcbae019bdad82ed139c0 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin <quentinduchemin@tuta.io> Date: Sun, 26 Apr 2020 22:18:16 +0200 Subject: [PATCH] [CI] Autostart CI when a Dockerfile is modified --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 371bc157..0ce9a4d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,10 +58,14 @@ set-variables: # If there are changes in any of the files and folders of 'pica-*' or # 'meta-*', then propose a manual build rules: + - changes: + - "pica-*/Dockerfile" + - "meta-*/Dockerfile" + when: always - changes: - "pica-*/**" - - "meta-*/**" when: manual + allow_failure: true # Build the image that was modified build: -- GitLab