From 0f0fa49923ef42d01c96b0e4163292f2f580279d Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 20 Jan 2025 15:27:32 +0200 Subject: [PATCH] FIXUP: determine_tag -> determine_git_tag --- install/common/build-image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/common/build-image.py b/install/common/build-image.py index 023281346..91fe79cc2 100644 --- a/install/common/build-image.py +++ b/install/common/build-image.py @@ -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`. @@ -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}'")