Merge pull request 'Fix image tag name' (#841) from dboreham/fix-remote-image-tags into main
Webapp Test / Run webapp test suite (push) Failing after 4s
Details
Smoke Test / Run basic test suite (push) Failing after 3s
Details
Lint Checks / Run linter (push) Failing after 3s
Details
Publish / Build and publish (push) Failing after 5s
Details
Deploy Test / Run deploy test suite (push) Failing after 3s
Details
Webapp Test / Run webapp test suite (push) Failing after 4s
Details
Smoke Test / Run basic test suite (push) Failing after 3s
Details
Lint Checks / Run linter (push) Failing after 3s
Details
Publish / Build and publish (push) Failing after 5s
Details
Deploy Test / Run deploy test suite (push) Failing after 3s
Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/841telackey/wagit v1.1.0-d6a1fb3-202406131438
commit
d6a1fb3279
|
|
@ -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(":")
|
(image_name, image_version) = image_name_with_version.split(":")
|
||||||
if image_version == "local":
|
if image_version == "local":
|
||||||
# Salt the tag with part of the deployment id to make it unique to this deployment
|
# 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}"
|
return f"{remote_repo_url}/{image_name}:deploy-{deployment_tag}"
|
||||||
else:
|
else:
|
||||||
return image
|
return image
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue