Skip to content

Commit 80cd809

Browse files
committed
Use correct image when writing manifests and creating tags
1 parent b5ebbb7 commit 80cd809

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tagging/write_manifests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ def write_manifests(
8282
LOGGER.info(f"Creating manifests for image: {short_image_name}")
8383
taggers, manifests = get_taggers_and_manifests(short_image_name)
8484

85-
image = f"{owner}/{short_image_name}:latest"
85+
tags_prefix = get_tags_prefix()
86+
image = f"{owner}/{short_image_name}:{tags_prefix}latest"
8687

8788
file_prefix = get_file_prefix()
8889
commit_hash_tag = GitHelper.commit_hash_tag()
8990
filename = f"{file_prefix}-{short_image_name}-{commit_hash_tag}"
9091

9192
with DockerRunner(image) as container:
92-
tags_prefix = get_tags_prefix()
9393
all_tags = [tags_prefix + tagger.tag_value(container) for tagger in taggers]
9494
write_build_history_line(
9595
short_image_name, owner, hist_line_dir, filename, all_tags

0 commit comments

Comments
 (0)