parent
07efee1531
commit
20157571b0
1 changed files with 5 additions and 5 deletions
|
@ -103,7 +103,7 @@ class ACIImage(TarImageFormatter):
|
||||||
ports.append({
|
ports.append({
|
||||||
"name": "port-%s" % port_number,
|
"name": "port-%s" % port_number,
|
||||||
"port": port_number,
|
"port": port_number,
|
||||||
"protocol": protocol
|
"protocol": protocol,
|
||||||
})
|
})
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
@ -134,7 +134,7 @@ class ACIImage(TarImageFormatter):
|
||||||
volumes.append({
|
volumes.append({
|
||||||
"name": get_name(docker_volume_path),
|
"name": get_name(docker_volume_path),
|
||||||
"path": docker_volume_path,
|
"path": docker_volume_path,
|
||||||
"readOnly": False
|
"readOnly": False,
|
||||||
})
|
})
|
||||||
return volumes
|
return volumes
|
||||||
|
|
||||||
|
@ -162,12 +162,12 @@ class ACIImage(TarImageFormatter):
|
||||||
|
|
||||||
manifest = {
|
manifest = {
|
||||||
"acKind": "ImageManifest",
|
"acKind": "ImageManifest",
|
||||||
"acVersion": "0.4.1",
|
"acVersion": "0.6.1",
|
||||||
"name": '%s/%s/%s/%s' % (hostname, namespace, repository, tag),
|
"name": '%s/%s/%s/' % (hostname, namespace, repository),
|
||||||
"labels": [
|
"labels": [
|
||||||
{
|
{
|
||||||
"name": "version",
|
"name": "version",
|
||||||
"value": "1.0.0"
|
"value": tag,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "arch",
|
"name": "arch",
|
||||||
|
|
Reference in a new issue