From 80cd8091816af98613f3bd9f8b7349ae39c1ddf5 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 5 Jul 2022 19:18:25 +0400 Subject: [PATCH] Use correct image when writing manifests and creating tags --- tagging/write_manifests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tagging/write_manifests.py b/tagging/write_manifests.py index 63c36661b1..383c638b01 100755 --- a/tagging/write_manifests.py +++ b/tagging/write_manifests.py @@ -82,14 +82,14 @@ def write_manifests( LOGGER.info(f"Creating manifests for image: {short_image_name}") taggers, manifests = get_taggers_and_manifests(short_image_name) - image = f"{owner}/{short_image_name}:latest" + tags_prefix = get_tags_prefix() + image = f"{owner}/{short_image_name}:{tags_prefix}latest" file_prefix = get_file_prefix() commit_hash_tag = GitHelper.commit_hash_tag() filename = f"{file_prefix}-{short_image_name}-{commit_hash_tag}" with DockerRunner(image) as container: - tags_prefix = get_tags_prefix() all_tags = [tags_prefix + tagger.tag_value(container) for tagger in taggers] write_build_history_line( short_image_name, owner, hist_line_dir, filename, all_tags