v2.10.2: image_digest
input: default value does not match required RegEx pattern
Following #90 (closed), when including the component from version 2.10.2 on, an error is thrown:
Unable to create pipeline
gitlab.example.org/components/opentofu/validate-plan-apply@2.12.0
:image_digest
input: default value does not match required RegEx pattern
We include the component from a local git mirror and with:
include:
- component: $CI_SERVER_FQDN/components/opentofu/validate-plan-apply@2.12.0
inputs:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: 2.12.0 # component version
opentofu_version: 1.10.2
root_dir: tofu/
image_digest
is not set here.
The error is raised, because the default value ``, the empty string, does not validate, as the error says.
Is image_digest
non-optional now and must be set?
A workaround can be to revert to the earlier v2.10.1.
Edited by jon r