Skip to content

Commit

Permalink
Update flytekit/image_spec/image_spec.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Apolinario <[email protected]>

Signed-off-by: Thomas J. Fan <[email protected]>
  • Loading branch information
thomasjpfan committed Apr 19, 2024
1 parent 1b0df07 commit e528fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/image_spec/image_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _image_name(self) -> str:
"""Construct full image name with tag."""
tag = calculate_hash_from_image_spec(self)
if self.tag_format:
tag = self.tag_format.format(spec_hash=spec_hash)
tag = self.tag_format.format(spec_hash=tag)

container_image = f"{self.name}:{tag}"
if self.registry:
Expand Down

0 comments on commit e528fee

Please sign in to comment.