Skip to content

Commit

Permalink
Iterate labels as dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Jan 29, 2025
1 parent 77ed499 commit 743c9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo2docker/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def build(
args += ["--tag", tag]

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

if platform:
Expand Down

0 comments on commit 743c9f9

Please sign in to comment.