From 280f40508ef0f8c2d7c65eeb7194b729ff9f60a1 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 15 Mar 2023 08:49:44 +0200 Subject: [PATCH] Make pipeline manual on MRs Signed-off-by: Evan Lezar --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7a338002..f3f2e14d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,11 @@ build-dev-image: - make .build-image - docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}" - make .push-build-image + rules: + - !reference [.main-or-manual, rules] + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + when: manual + - when: always .requires-build-image: image: "${BUILDIMAGE}"