Skip to content

Commit

Permalink
FIXUP: determine_tag -> determine_git_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Jan 20, 2025
1 parent 8911b72 commit 0f0fa49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/common/build-image.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def str2bool(v):
raise argparse.ArgumentTypeError("Boolean value expected.")


def determine_tag():
def determine_git_tag():
# Designate a unique tag for this image, depending on the Git commit it was created
# from:
# 1. If created from a Git tag (e.g., 0.8.0), the image tag will be `0.8.0`.
Expand Down Expand Up @@ -90,7 +90,7 @@ def main():

print(f"Building for architecture '{ARCH}'")

tag = args.tag or determine_tag()
tag = args.tag or determine_git_tag()
image_name_tagged = IMAGE_NAME + ":" + tag

print(f"Will tag the container image as '{image_name_tagged}'")
Expand Down

0 comments on commit 0f0fa49

Please sign in to comment.