[CNG] [CI] Support testing UBI8 image changes using Charts trigger job
Summary
Context: gitlab-org/build/CNG!835 (comment 761288593)
When testing changes to the CNG related to UBI, it would be helpful to use the existing Charts trigger job.
However, if the branch ends in -ubi8
, then the CNG pipeline will detect it as a UBI pipeline and appends -ubi8
to the tag again.
So for example, in the context of the MR linked above:
- CNG pipeline pushed images with tag
update-ubi-8-5-ubi8-ubi8
(note duplicate-ubi8
suffix) - Charts pipeline wanted images with tag
update-ubi-8-5-ubi8
(the branch name from this MR)
Acceptance criteria
-
CNG merge requests for updating UBI images can be properly tested using the Charts trigger job