Skip to content
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

deleting tagged image #172

Open
casaroli opened this issue Feb 7, 2024 · 1 comment
Open

deleting tagged image #172

casaroli opened this issue Feb 7, 2024 · 1 comment

Comments

@casaroli
Copy link

casaroli commented Feb 7, 2024

I pushed the same image with multiple tags (tag1 and tag2)

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?

@rohanmars
Copy link

I fixed this in a new project. https://github.com/dataaxiom/ghcr-cleanup-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants