Skip to content

Commit

Permalink
Merge pull request 'Fix image tag name' (#841) from dboreham/fix-remo…
Browse files Browse the repository at this point in the history
…te-image-tags into main

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/841
  • Loading branch information
David Boreham committed Jun 13, 2024
2 parents 3fb025b + bf1eccd commit d6a1fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stack_orchestrator/deploy/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6a1fb3

Please sign in to comment.