I'm currently digging in Gitlab CI.
I would like to add a way in my YAML files to tag my docker images generated by the build step and pushed to my Gitlab Registry with a Version number composed in the following fashion : MajorVersion.Minorversion.BuildNumber

I would like to auto-increment the BuildNumber, but to manually set the MajorVersion and MinorVersion.

I found a standard variable **CI\_JOB\_ID** for the build ID. But i need a smooth way to manage my version numbers..