Templates here are intended for use with the include
keyword.
https://docs.gitlab.com/ee/ci/yaml/#includetemplate
Usage:
include:
- project: "<your_group>/ci-templates"
file:
- /templates/baseline.yml
ref: 'main'
Here's some examples of some powerfull general purpose templates
- GitLab's official Templates: https://gitlab.com/gitlab-org/gitlab/-/tree/master/lib/gitlab/ci/templates