Gitlab-runner gave me the following error trying to run a job from one of my own images:
... Skipping Git submodules setup [: 1: [: Syntax error: end of file unexpected [: 1: [: Syntax error: end of file unexpected ERROR: Job failed: exit code 2
Turns out, the issue was in
needs to be
Not sure why exactly, but that fixed the issue.