Skip to content

Commit 743c9f9

Browse files
committed
Iterate labels as dicts
1 parent 77ed499 commit 743c9f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo2docker/docker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def build(
117117
args += ["--tag", tag]
118118

119119
if labels:
120-
for k, v in labels:
120+
for k, v in labels.items():
121121
args += ["--label", f"{k}={v}"]
122122

123123
if platform:

0 commit comments

Comments
 (0)