ci: switch to single template
The current per-version templates are broken due to the switch to argument-based single templates. Instead of fixing backwards compatibility, we can update the gitlab-ci.yml to use the new templates.
This also drops building 3.18, since it's no longer supported.