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

tag update race #9

Closed
cppforlife opened this issue Feb 9, 2021 · 4 comments
Closed

tag update race #9

cppforlife opened this issue Feb 9, 2021 · 4 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request oci Integration between Sigstore and OCI registries/images

Comments

@cppforlife
Copy link

are yall aware of any work in opencontainers to support atomic tag swaps (aka fail to update tag if expected previous digest does not match what tag is pointing at right before the update)? it might be too much burden to implement for registry implementors but would be handy for tag updates.

@dlorenc
Copy link
Member

dlorenc commented Feb 10, 2021

are yall aware of any work in opencontainers to support atomic tag swaps (aka fail to update tag if expected previous digest does not match what tag is pointing at right before the update)? it might be too much burden to implement for registry implementors but would be handy for tag updates.

I think there's a discussion to something with HTTP etags for this. @jonjohnsonjr knows more!

@jonjohnsonjr
Copy link
Contributor

Yes, I proposed a solution for this in last week's OCI dev call. It's on my TODO list to put together an actual PR to the spec.

Everyone seemed generally receptive to the idea, so I have high hopes for this getting implemented broadly. I'll ping this issue when I open the PR.

@jonjohnsonjr
Copy link
Contributor

@lukehinds lukehinds added the enhancement New feature or request label Mar 15, 2021
@znewman01
Copy link
Contributor

Duplicate of #2432

@znewman01 znewman01 marked this as a duplicate of #2432 Nov 22, 2022
@znewman01 znewman01 added duplicate This issue or pull request already exists oci Integration between Sigstore and OCI registries/images labels Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request oci Integration between Sigstore and OCI registries/images
Projects
None yet
Development

No branches or pull requests

5 participants