Tagged builds that follow GitLab Major-Minor versions
Achieve docker builds that will allow Jobs/Deploy.gitlab-ci.yml
to use such image declarations:
image: registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:$CI_SERVER_VERSION_MAJOR-$CI_SERVER_VERSION_MINOR-stable"
Starting from GitLab 12.1
Proposal
2 options :
-
Use something like https://gitlab.com/gitlab-org/security-products/dast/blob/master/.gitlab-ci.yml#L113-146
- 1 tag releases for multiple GitLab versions
- More complex
-
Use something like https://gitlab.com/gitlab-org/security-products/codequality/blob/master/.gitlab-ci.yml#L34-49
- Branch for each GitLab release
- Simpler
Edited by Thong Kuah