Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy a image with multiple tags #209

Open
johnny-kc-wu opened this issue Aug 2, 2022 · 1 comment
Open

Deploy a image with multiple tags #209

johnny-kc-wu opened this issue Aug 2, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@johnny-kc-wu
Copy link

Could we deploy a image with multiple tags(e.g. my-app:latest & my-app:20220801) into an ECR repo?
Thanks!

@mrgrain mrgrain added enhancement New feature or request help wanted Extra attention is needed labels Oct 16, 2024
@mrgrain
Copy link
Contributor

mrgrain commented Oct 16, 2024

You will have to create multiple deployments to push to different tags. With ECR repos, tags are really but is a unique thing, it's not so much adding a new tag to an existing thing, but pushing the same thing multiple times. Of course the second push should be much faster since the registry will be able to deduplicate the layers based on the hash.

Architecturally this package is currently implement as a simple copy instruction. To save on the second push, we'd might have to change to a pull and push to multiple targets methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants