-
Notifications
You must be signed in to change notification settings - Fork 510
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
crane: Deleting image by tag not working #1822
Comments
This issue is stale because it has been open for 90 days with no |
I'm also facing this issue. I ran The help text does not indicate that a digest is expected and just like OP said I'd expect crane to resolve the tag accordingly:
|
@iFrozenPhoenix could you share the output when you try this? thanks! |
@sankalp-khare the error was something that the hash couldn't be found. Actually I can't reproduce it anymore. |
Can you add the crane version that you tested with so that I can check as well :-) |
Sure, 0.19.0 |
crane delete x.x.x.x::443/my_test/ubuntu18.04:php7.2.10 --insecuregoroutine 9 [running]: |
v0.19.1 |
harbor |
Describe the bug
Deleting a tag, i.e. the manifest and the blob, is not working when using crane delete registry.domain/repo/image:tag
To Reproduce
crane delete registry.domain/repo/image:tag
Expected behavior
when the delete command is specified with a tag instead of a digest the tag is automatically resolved to the digest value and the delete command is executed with the digest.
Additional context
Add any other context about the problem here.
Registry: Distribution
The text was updated successfully, but these errors were encountered: