Using the tag seems to screw up the auth URL generated
and is unnecessary since we're trying to get a list
of tags for the image anyway.
Fixes: https://tracker.ceph.com/issues/62679
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
0f4426d3a085fc2f5137593029469c3b20ace77e)
if not image:
image = self.mgr.container_image_base
reg_name, bare_image = image.split('/', 1)
+ if ':' in bare_image:
+ # for our purposes, we don't want to use the tag here
+ bare_image = bare_image.split(':')[0]
reg = Registry(reg_name)
(current_major, current_minor, _) = self._get_current_version()
versions = []