According to Gitlab documentation, you have to use expand_vars
expand_vars
include: - component: path/to/component@main inputs: var: $VARIABLE
Inside the component you can evaluate the value like this: $[[inputs.var | expand_vars]]
$[[inputs.var | expand_vars]]