Use image_tag to name the images for MR pipelines
There is no need to check for the pipeline source explicitly to set the Merge request IID. It is only set when the pipeline source is a merge_request_event. So you can directly use it in the image name instead of an explict check to add it to the image name.
Edited by Eesaan Atluri