From 193bfe89704dac5d97516c9c58c94ba16daa059a Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Mon, 24 Jul 2023 10:21:58 -0400 Subject: [PATCH] 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 --- hack/build-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/build-image b/hack/build-image index 11892ad4..6237fdcf 100755 --- a/hack/build-image +++ b/hack/build-image @@ -394,7 +394,7 @@ def push(cli, target): build(cli, target) push_name = target.image_name() - for tag in target.additional_tags: + for tag, _ in target.additional_tags: if tag in ("latest", "nightly"): push_name = target.image_name(tag=tag) break