[CNG] [CI] tag detection for ubi-release-for-certification job
Red Hat does not have an API to allow tags on images to be deleted. This impacts the ubi-release-for-certification
job as it is unable to upload an image with the same tag that was uploaded on a prior GitLab release. As a result the job fails for every GitLab release and adding confusion to the monthly GitLab release.
One alternative is to attempt to detect that a tag already exists prior attempting to upload the image to Red Hat. If the tag already exists, then the image can be safely ignored and continue processing with the next image.
Edited by Gerard Hickey