Add schema2 list support
This commit is contained in:
parent
52b12131f7
commit
a73cd9170a
7 changed files with 320 additions and 48 deletions
|
@ -195,6 +195,10 @@ class DockerSchema1Manifest(object):
|
|||
if not verified:
|
||||
raise InvalidSchema1Signature()
|
||||
|
||||
@property
|
||||
def schema_version(self):
|
||||
return 1
|
||||
|
||||
@property
|
||||
def content_type(self):
|
||||
return DOCKER_SCHEMA1_SIGNED_MANIFEST_CONTENT_TYPE
|
||||
|
|
Reference in a new issue