Open casaroli opened 8 months ago
I pushed the same image with multiple tags (tag1 and tag2)
tag1
tag2
Then I run ghcr.-delete-image-action only on tag1
When I try to docker pull image:tag2 it fails with manifest unknown.
docker pull image:tag2
It deleted the image even that it was still tagged with some other tag.
I think this action should only delete the tag, and then delete the image only if there are no other tags.
WDYT?
I fixed this in a new project. https://github.com/dataaxiom/ghcr-cleanup-action
I pushed the same image with multiple tags (
tag1
andtag2
)Then I run ghcr.-delete-image-action only on
tag1
When I try to
docker pull image:tag2
it fails with manifest unknown.It deleted the image even that it was still tagged with some other tag.
I think this action should only delete the tag, and then delete the image only if there are no other tags.
WDYT?