Open cfiderer opened 2 years ago
Thanks for your report.
Compare https://github.com/containers/skopeo/issues/1432 ; deleting a tag was historically not possible (apart from some … creative workaround, which wouldn’t work on the registry in question). The OCI spec has added that, but it’s not yet implemented (and I’m not sure that we can just change the API behavior).
Do you think an additional DELETE request for the tag (before deleting the digest) will break compatibility, if an error is reported but otherwise ignored? I assume the benefit will outweigh the API behavior change. (just my 2 cent)
Looking at the OCI Distribution Spec, deleting tags is specified at least since two years.
Hi,
I am able to inspect my test image at GCR, but I cannot delete it:
Looking at the source code, it seems that the
deleteImage()
function (docker/docker_image_src.go
) obtains the manifest and issues a DELETE request for the digest - but it does not issue a DELETE request for the tag.Is it possible to check whether the reference is tagged - and issue two DELETE requests (first for the tag, then for the digest)?
The OCI Distribution Spec supports this... (see end-9)