Gitlab cICD yaml common file for all projects

We will have multiple projects for which we will use CICD pipeline.
Could you please suggest solution how can i create common .gitlab.yml for all projects ?
I don’t have premium gitlab version so, i can’t use custom group level template. I have free community version.