Implement support for schema 2 manifests
This commit is contained in:
parent
1b3daac3c3
commit
849e613386
6 changed files with 97 additions and 39 deletions
|
@ -21,6 +21,10 @@ class OCIModel(SharedModel, RegistryDataInterface):
|
|||
OCIModel implements the data model for the registry API using a database schema
|
||||
after it was changed to support the OCI specification.
|
||||
"""
|
||||
def supports_schema2(self, namespace_name):
|
||||
""" Returns whether the implementation of the data interface supports schema 2 format
|
||||
manifests. """
|
||||
return True
|
||||
|
||||
def find_matching_tag(self, repository_ref, tag_names):
|
||||
""" Finds an alive tag in the repository matching one of the given tag names and returns it
|
||||
|
|
Reference in a new issue