From bf1eccd486d6dffa15b4467d9e38561bb06ca162 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Thu, 13 Jun 2024 08:31:45 -0600 Subject: [PATCH] Fix image tag name --- stack_orchestrator/deploy/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack_orchestrator/deploy/images.py b/stack_orchestrator/deploy/images.py index 891b9a2a..f2af1c09 100644 --- a/stack_orchestrator/deploy/images.py +++ b/stack_orchestrator/deploy/images.py @@ -72,7 +72,7 @@ def remote_tag_for_image_unique(image: str, remote_repo_url: str, deployment_id: (image_name, image_version) = image_name_with_version.split(":") if image_version == "local": # Salt the tag with part of the deployment id to make it unique to this deployment - deployment_tag = deployment_id[0, 7] + deployment_tag = deployment_id[-8:] return f"{remote_repo_url}/{image_name}:deploy-{deployment_tag}" else: return image