Specify image tag explicitly for triggered builds
Currently, docker images created as part of build triggered from .com will use GITLAB_VERSION
as tag, which is often empty. So all of them try to push as latest
, thus overwriting each other's work. This MR introduces an environment variable that will be passed to the trigger and will act as the image. To not break triggers from CE/EE, this environment variable will come into play only if explicitly set.
For builds triggered from .com repo, we set omnibus-<SHA of commit>
as the tag.
Closes #2330 (closed)