From 69ef38cb210ce7e08f488dab388035ca7780e282 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Tue, 11 Jun 2024 10:41:46 +0200
Subject: [PATCH] only for branch starting with base-

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08276c7..3ee6cc0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,8 +3,8 @@ image: docker:24
 
 
 build:
-  except:
-    - main
+  rules:
+    - if:  '$CI_COMMIT_REF_SLUG =~ /^base-/i'
   stage: build
   needs: []
   before_script:
-- 
GitLab