migrate scope option to image metadata (from source)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2020-11-17 12:37:12 -05:00
parent 91baabe5a1
commit f46de19c6b
14 changed files with 59 additions and 60 deletions
+4 -4
View File
@@ -339,16 +339,12 @@
"name": {
"type": "string"
},
"scope": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"scope",
"version"
],
"type": "object"
@@ -409,6 +405,9 @@
"mediaType": {
"type": "string"
},
"scope": {
"type": "string"
},
"size": {
"type": "integer"
},
@@ -426,6 +425,7 @@
"digest",
"layers",
"mediaType",
"scope",
"size",
"tags",
"userInput"