Hey there. I’m trying to set up a new project to use OpenTofu in CI to manage infra + deployment. I’ve verified that the Terraform code works locally with OpenTofu. Whenever the pipeline runs in CI, I get the following error:
ERROR: Job failed: failed to pull image "registry.gitlab.com/components/opentofu/$[[ inputs.image_name ]]:$[[ inputs.version ]]-opentofu$[[ inputs.opentofu_version ]]" with specified policies [always]: invalid reference format (manager.go:237:0s)
This just started happening to my pipelines as well. I’d converted mine from old Terraform templates and had them running successfully last week. I feel like some bug found it’s way in, but I don’t see any updates to the OpenTofu component which would cause it. The runner code that calls the component seems to not be expanding variables correctly.
I’m using the “customized” template as well, so my call to the component is like this:
Does anyone have information how to make this work on self-managed version? Have tried different version combinations, but am always getting ERROR: Job failed: failed to pull image "/components/opentofu/gitlab-opentofu:0.17.0-opentofu1.6.1" with specified policies [always]: invalid reference format (manager.go:250:0s)