Skip to content

Commit

Permalink
Use correct image when writing manifests and creating tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Jul 5, 2022
1 parent b5ebbb7 commit 80cd809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tagging/write_manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80cd809

Please sign in to comment.