kopia lustrzana https://github.com/jupyterhub/repo2docker
Iterate labels as dicts
rodzic
77ed499680
commit
743c9f964c
|
@ -117,7 +117,7 @@ class DockerEngine(ContainerEngine):
|
||||||
args += ["--tag", tag]
|
args += ["--tag", tag]
|
||||||
|
|
||||||
if labels:
|
if labels:
|
||||||
for k, v in labels:
|
for k, v in labels.items():
|
||||||
args += ["--label", f"{k}={v}"]
|
args += ["--label", f"{k}={v}"]
|
||||||
|
|
||||||
if platform:
|
if platform:
|
||||||
|
|
Ładowanie…
Reference in New Issue