NO-ISSUE: Allow short or fqdn for image in manifest
@@ -90,7 +90,8 @@ def get_manifest_from_url(tag):
def get_image_revision_from_manifest(short_image_name, manifest):
for repo, repo_info in manifest.items():
- if short_image_name in repo_info["images"]:
+ for image in repo_info["images"]:
+ if short_image_name == image.split('/')[-1]:
return repo_info["revision"]
raise Exception("Failed to find revision for image: %s" % short_image_name)
