We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21699c4 commit c2f594dCopy full SHA for c2f594d
src/image_builder.py
@@ -654,7 +654,7 @@ def tag_image_with_initiator(image_tag):
654
"""
655
# Shorten huggingface name to avoid breaching 128 char tag limit
656
initiator = os.getenv("CODEBUILD_INITIATOR", "").split("/")[-1].replace("huggingface", "hf")
657
- return f"{image_tag}-{initiator}-{os.getenv('CODEBUILD_RESOLVED_SOURCE_VERSION', '')[:7]}"
+ return f"{image_tag}-{initiator}-{os.getenv('CODEPIPELINE_EXECUTION_ID', '')[:7]}"
658
659
660
def append_tag(image_tag, append_str):
0 commit comments