Add support for pushing and pulling schema 2 manifests with remote layers
This is required for windows image support
This commit is contained in:
parent
d97055e2ba
commit
37b20010aa
19 changed files with 339 additions and 29 deletions
|
@ -30,7 +30,8 @@ def get_tags(namespace_name, repo_name):
|
|||
# TODO(jschorr): Change this to normalize manifest lists back to their legacy image
|
||||
# (if applicable).
|
||||
tags = registry_model.list_repository_tags(repository_ref, include_legacy_images=True)
|
||||
tag_map = {tag.name: tag.legacy_image.docker_image_id for tag in tags if tag.legacy_image}
|
||||
tag_map = {tag.name: tag.legacy_image.docker_image_id
|
||||
for tag in tags if tag.legacy_image_if_present}
|
||||
return jsonify(tag_map)
|
||||
|
||||
abort(403)
|
||||
|
|
Reference in a new issue