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
The text was updated successfully, but these errors were encountered:
qweeah
changed the title
Bug: when usingoras.Copy() tagging will be skipped if manifest blob already exists in the destination
Bug: oras.Copy() may skip tagging if manifest blob already exists in the destination
Jul 15, 2022
Reproduce Step
oras CLI version: 0.13.0
echo "test" > hi.txt && oras push $REG/$REPO hi.txt
oras push $REG/$REPO:tag hi.txt
tag
won't be created in the registry.Root Cause
If a manifest blob is found existed (https://github.com/oras-project/oras-go/blob/main/copy.go#L154-L163), the copy process will be skipped as well as the retagging process.
Originally posted by @qweeah in oras-project/oras#447 (comment)
The text was updated successfully, but these errors were encountered: