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

Should we preserve the tag of referenced images? #104

Open
carolynvs opened this issue May 28, 2020 · 1 comment
Open

Should we preserve the tag of referenced images? #104

carolynvs opened this issue May 28, 2020 · 1 comment

Comments

@carolynvs
Copy link
Collaborator

Right now referenced images are pushed with just their digest to the destination registry. Is there value in allowing the tool or user to decide to preserve the original tag as well?

@szucsitg
Copy link

In our case we have a microservices based software that is installed as part of other platform then deployed mostly to airgapped environments to their customers.
Individual components following mostly semver approach, where we have a platform release denoted for the overall release, e.g. 1.2 but a new component in that release will use 1.0 and some components that had significant changes, might be on 1.4.
As we do not have much control over how these images will be relocated it'd help us to easily identify the actual version based on tags, instead of hashes.
Also according to image relocation currently tags could be defined in relocation maps, hence they could be preserved.
https://github.com/cnabio/cnab-spec/blob/master/103-bundle-runtime.md#relocation-mapping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants