mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
@@ -470,7 +470,7 @@ class DockerManager:
|
|||||||
|
|
||||||
def get_split_image_tag(self, image):
|
def get_split_image_tag(self, image):
|
||||||
if '/' in image:
|
if '/' in image:
|
||||||
image = image.split('/')[1]
|
image = image.split('/')[-1]
|
||||||
tag = None
|
tag = None
|
||||||
if image.find(':') > 0:
|
if image.find(':') > 0:
|
||||||
return image.split(':')
|
return image.split(':')
|
||||||
|
|||||||
Reference in New Issue
Block a user