Wrote an article
This took me way to long to find out why it didn't work. Hope it helps someone in the future stepping into the same issue.

https://www.schwaerzl.net/gitlab-runner-argument-list-too-long/