aci format: - allowed in AC Name spec
This commit is contained in:
parent
90a3782933
commit
81b5b8d1dc
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ class ACIImage(TarImageFormatter):
|
|||
try:
|
||||
port_number = int(port_number)
|
||||
ports.append({
|
||||
"name": "port%s" % port_number,
|
||||
"name": "port-%s" % port_number,
|
||||
"port": port_number,
|
||||
"protocol": protocol
|
||||
})
|
||||
|
@ -188,7 +188,7 @@ class ACIImage(TarImageFormatter):
|
|||
"annotations": [
|
||||
{"name": "created", "value": docker_layer_data.get('created', '')},
|
||||
{"name": "homepage", "value": source_url},
|
||||
{"name": "quay.io/derivedimage", "value": synthetic_image_id},
|
||||
{"name": "quay.io/derived-image", "value": synthetic_image_id},
|
||||
]
|
||||
},
|
||||
}
|
||||
|
|
Reference in a new issue