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

oras push/cp --digest-only #326

Closed
Tracked by #369
SteveLasker opened this issue Sep 28, 2021 · 5 comments
Closed
Tracked by #369

oras push/cp --digest-only #326

SteveLasker opened this issue Sep 28, 2021 · 5 comments
Assignees
Milestone

Comments

@SteveLasker
Copy link
Contributor

To support tag update scenarios, where a new digest, and all its references should be pushed before a tag update is applied, we need a way to push a container image, or any artifactType, deferring the tag application.

Initially, I considered docker push --digest-only, and that may still be the best idea. Except, that would require a change to the docker client.
This proposal focuses on oras push with a --digest-only flag.

Perhaps oras cp with --digest-only

See Docs: Add Promoting Scenario oras-project/oras#98 for more info

@SteveLasker SteveLasker changed the title oras push --digest-only oras push/cp --digest-only Sep 28, 2021
@sajayantony sajayantony transferred this issue from oras-project/oras-go Sep 28, 2021
@SteveLasker SteveLasker transferred this issue from oras-project/oras Sep 28, 2021
@sajayantony
Copy link
Contributor

sajayantony commented Oct 14, 2021

@SteveLasker - Looks like you moved this back to the wrong repo. This is a CLI experience feature request and not a library issue. Please close this or transfer it to the CLI repo.

@SteveLasker SteveLasker transferred this issue from oras-project/oras-go Oct 15, 2021
@SteveLasker SteveLasker added this to the v0.20.0-alpha2 milestone Jan 14, 2022
@shizhMSFT shizhMSFT modified the milestones: v0.20.0-alpha2, v0.14.0 May 7, 2022
@shizhMSFT
Copy link
Contributor

shizhMSFT commented Jun 29, 2022

oras push without a tag means "pushing with digest only".

@shizhMSFT shizhMSFT self-assigned this Jun 29, 2022
@SteveLasker
Copy link
Contributor Author

@shizhMSFT, correct.

@qweeah
Copy link
Contributor

qweeah commented Jun 30, 2022

@JunczhuMSFT this is related to the copy command, can you take a look?

@shizhMSFT
Copy link
Contributor

Closed by notaryproject/notation#432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants