Gitlab Inputs

This commit is contained in:
Agel committed 2026-05-23 20:36:57 +02:00
1 parent e3766c8e55
commit def70d053c
1 file changed
+11 -9
+11 -9
View File
@@ -1,11 +1,20 @@
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: $FORCE_REBUILD_IMAGE == "true"
- if: $[[ inputs.FORCE_REBUILD_IMAGE ]] == "true"
variables:
CI_PIPELINE_TYPE: image-rebuild
- if: $FORCE_REBUILD_IMAGE == "false"
- if: $[[ inputs.FORCE_REBUILD_IMAGE ]] == "false"
variables:
CI_PIPELINE_TYPE: normal
- changes:
@@ -25,13 +34,6 @@ 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: