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

Images that matches -ignoretagsregex are still getting deleted #34

Open
duydnguyen07 opened this issue Nov 18, 2019 · 1 comment
Open

Comments

@duydnguyen07
Copy link
Contributor

duydnguyen07 commented Nov 18, 2019

This issue happens when there is an image that is tagged with multiple tags.

For example, image with digest of sha:123 has tags of master_123 and releast_123, and the regex to ignore is release_. So anything that matches release_ should not be deleted. However, since the image with sha:123 is also tagged with master_123, it is deleted as well.

The expected behavior would be that this image is also ignored and not get deleted.

@cablespaghetti
Copy link

Also have this issue. Thanks for the fix!

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