GoogleCloudPlatform / GoogleCloudPlatform/docker-credential-gcr
Skopeo delete image failing - attempts deleting manifest before tag
- Dominant language
- Go
- Stars
- 316
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Description
Running command `skopeo delete docker://gcr.io//: --creds `.
Fails with: `{"errors":[{"code":"GOOGLE_MANIFEST_DANGLING_TAG","message":"Manifest is still referenced by tag: "}]} (400 Bad Request)" `
It looks like it is attempting to delete the manifest first before removing the tags but this is not allowed by GCR. This may cause issues where it would require deleting all tags before a manifest can be removed. An associated issue with details can be found here: https://github.com/genuinetools/reg/issues/136.
Contributor guide
Research direction
Start by reproducing the documented `skopeo delete docker://gcr.io//: --creds ` command and compare its 400 response with the linked `genuinetools/reg#136` issue. Done means the delete operation no longer attempts to remove a manifest while its tag still references it, or the required deletion behavior is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, google-cloud
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100