From fd751d6111abc66567164c00b1697b146e515f72 Mon Sep 17 00:00:00 2001 From: Agel Date: Sat, 23 May 2026 20:38:46 +0200 Subject: [PATCH] Gitlab NoInputs --- .gitlab-ci.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 932409f..3a1eed6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,20 +1,11 @@ workflow: auto_cancel: on_new_commit: interruptible - inputs: - FORCE_REBUILD_IMAGE: - default: "auto" - type: choice - options: - - "auto" - - "true" - - "false" - description: "Force (true) or skip (false) building the runner image, even if files changed" rules: - - if: $[[ inputs.FORCE_REBUILD_IMAGE ]] == "true" + - if: $FORCE_REBUILD_IMAGE == "true" variables: CI_PIPELINE_TYPE: image-rebuild - - if: $[[ inputs.FORCE_REBUILD_IMAGE ]] == "false" + - if: $FORCE_REBUILD_IMAGE == "false" variables: CI_PIPELINE_TYPE: normal - changes: @@ -34,6 +25,13 @@ stages: variables: GIT_CLEAN_FLAGS: -fdx + FORCE_REBUILD_IMAGE: + value: "auto" + options: + - "auto" + - "true" + - "false" + description: "Force (true) or skip (false) building the runner image, even if files changed" # ── Build the runner image and push to registry ──────────────────────────────── build-docker: