Skip to content

Commit 193bfe8

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
hack: fix --push option to build-image
Late in the development of `build-image` I made additional_tags a list of tuples rather than a list of strings in order to make filtering simpler but `push` function was never updated to match. This quick fix gets `--push` mode working again. Signed-off-by: John Mulligan <[email protected]>
1 parent 54f1dad commit 193bfe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/build-image

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def push(cli, target):
394394
build(cli, target)
395395

396396
push_name = target.image_name()
397-
for tag in target.additional_tags:
397+
for tag, _ in target.additional_tags:
398398
if tag in ("latest", "nightly"):
399399
push_name = target.image_name(tag=tag)
400400
break

0 commit comments

Comments
 (0)