You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been experimenting with oras for a bit while and came across a rather unexpected behaviour. Specifically, oras cli does not seem to be able to tag the same [manifest] digest with different tags.
Example scenario: I want to push some content to a registry and tag it with a tag. Then I want to tag the same content with a different tag. The latter does not happen. My suspicion is on the RE-tag, oras does HEAD request on manifest digest but not on the tag -- it finds the digest exists and never follows up with the new tag.
Is there any specific reason for this behaviour? I can't think of any.
@milosgajdos
This is a known issue (#447 and oras-project/oras-go#239) for 0.13.0. It has been fixed in the main branch but we haven't released a new version(0.14.0) yet.
We've been experimenting with
oras
for a bit while and came across a rather unexpected behaviour. Specifically,oras
cli does not seem to be able to tag the same [manifest]digest
with different tags.Example scenario: I want to push some content to a registry and tag it with a tag. Then I want to tag the same content with a different tag. The latter does not happen. My suspicion is on the RE-tag,
oras
doesHEAD
request on manifest digest but not on thetag
-- it finds the digest exists and never follows up with the new tag.Is there any specific reason for this behaviour? I can't think of any.
How to reproduce this:
Push some content to a registry:
Push a new tag for the same content:
The worst thing is, the
oras
on re-TAG (i.e. push with different tag) prints output that seems to suggest that the new tag has been pushed:But that doesn't seem to be the case.
The text was updated successfully, but these errors were encountered: