Hi everyone,
I’m facing a strange problem with Array inputs in GitLab CI.I want to use an input of type array for the tags section, but I keep getting the following error:
Incorrect type. Expected “array”.
Here is my config:
spec:
inputs:
CI_JOB_TAGS:
type: array
description: ci job tags
---
stages:
- pre_build
pre_build:
stage: pre_build
tags: $[[ inputs.CI_JOB_TAGS ]]
So I guess I’m missing something when trying to apply the same pattern for tags. Has anyone faced this before? How can I properly use an array input for the tags section?