Closed XDream8 closed 8 months ago
@XDream8 what server vetsion?
it is codeberg ci so i suppose it is the latest version. i fixed it by using full image name image: ${IMAGE}
issue on codeberg: https://codeberg.org/Codeberg/Community/issues/1152
Looks like this happens when using matrix vars in image names
I tried to reproduce this, but I can't.
Using a matrix env var in images is not a problem for me, and using it with a :
does work too.
I had this issue as well. I can also try it again later.
@xoxys Did you try to reproduce this?
Thanks for the reminder. Seems to be working now https://ci.thegeeklab.de/repos/20/pipeline/119
While debugging #2068, I found the reason why it's fixed in next
. There was a process before that parses pipelines multiple times to check e.g. global when
s and this did not respect the matrix.
Thus, the variable is substituted to an empty string, so image: rust:${TAG}
becomes image: rust:
and this is invalid YAML.
Error:![20230715_09h12m46s_grim](https://github.com/woodpecker-ci/woodpecker/assets/62709801/864c2eb7-4313-4cdd-b43f-91bb0e5452c4)
WOODPECKER_VERSION = "next-b54f6eba"
Pipeline:
I followed the documentation for matrix builds but in the end this error came up.