Use 'major.minor-<ee ref>' as staging docker tag
Auto-deploy builds have a tag formatted like 12.0.12345+5159f2949cb.59c9fa631
but the version api returns a semver version like 12.0.1
, plus a commit ref.
So now images will be tagged using minor and major semver components plus the EE commit ref: https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/3373
That means the version used for the docker image tag is like 12.0-5159f2949cb
This MR makes gitlab-qa use a tag in that format, based on the response from the version API.
Note: This should not be merged before https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/3373.
See: https://gitlab.com/gitlab-org/quality/staging/issues/56