Merge pull request #8363 from greenmoss/devel
Fix Docker image name parsing
This commit is contained in:
commit
5cb682b3b0
1 changed files with 1 additions and 1 deletions
|
@ -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(':')
|
||||||
|
|
Loading…
Reference in a new issue