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

Consider using latest during resolve when tag is not provided #1193

Closed
1 task done
kranurag7 opened this issue Nov 26, 2023 · 2 comments
Closed
1 task done

Consider using latest during resolve when tag is not provided #1193

kranurag7 opened this issue Nov 26, 2023 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@kranurag7
Copy link
Contributor

What is the version of your ORAS CLI

main

What would you like to be added?

This is a feature request which is an extension to this pull request. This issue requests consideration of falling back to using latest when the tag is not provided by the user.

Why is this needed for ORAS?

Most of the project use latest tag for their dev/staging images. It will be helpful and a good default (IMHO) when it comes to getting the digest of the latest image quickly without explicitly mentioning latest tag every time.

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.
@kranurag7 kranurag7 added enhancement New feature or request triage New issues or PRs to be acknowledged by maintainers labels Nov 26, 2023
@qweeah qweeah added wontfix This will not be worked on and removed triage New issues or PRs to be acknowledged by maintainers labels Dec 5, 2023
@qweeah
Copy link
Contributor

qweeah commented Dec 5, 2023

Tagging a manifest as latest is not a good practice although it is a convention in docker. Many tools like containerd/ctr has dropped the default value of latest. More tagging strategies can be found at Docker Tagging: Best practices for tagging and versioning docker images – Steve Lasker.
Additionally, oras support pushing without a tag while it is not supported by docker.

@kranurag7
Copy link
Contributor Author

Thanks for the feedback and reference @qweeah
I think we are good to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants