Expose container release as pipeline input

This commit is contained in:
KingKDot
2026-08-23 17:48:29 -05:00
parent 932d896f69
commit afbf560d27
+10 -3
View File
@@ -1,3 +1,12 @@
spec:
inputs:
release_version:
type: string
default: ""
regex: '^$|^[0-9]+\.[0-9]+\.[0-9]+$'
description: "Server image version to publish (strict SemVer, for example 3.1.0). Leave blank for a test-only pipeline."
---
stages:
- test
- package
@@ -11,9 +20,7 @@ workflow:
- if: "$CI_COMMIT_BRANCH || $CI_COMMIT_TAG"
variables:
RELEASE_VERSION:
value: ""
description: "Server image version to publish (strict SemVer, for example 3.1.0). Leave blank for a test-only pipeline."
RELEASE_VERSION: "$[[ inputs.release_version ]]"
include:
- local: /.gitlab/ci/tests.yml