-
Notifications
You must be signed in to change notification settings - Fork 34
Optional tag filter #205
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
Optional tag filter #205
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## main #205 +/- ##
==========================================
+ Coverage 69.26% 69.49% +0.22%
==========================================
Files 45 45
Lines 5030 5041 +11
==========================================
+ Hits 3484 3503 +19
+ Misses 1424 1416 -8
Partials 122 122
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Reviewing now. |
|
Oddly enough, if I run |
- Refactor `FilterByImage` to support optional tag matching with helper function `matchImageAndTag` - Add tests for malformed image inputs in `filters_test.go` - Update `http-api-mode.md` to document tag support in /v1/update endpoint - Add reference in `arguments.md` for tag filtering discoverability
|
I'm using Golangci-lint to provide more thorough linting requirements, which is why go fmt might have missed it. |
- Add test for insecure HTTP URL warning in gotify notifier initialization
|
Is that commit related to this feature? |
|
The addition of the Gotify test case was a Codacy issue. The CI features and settings that I'm using are still in need of fine-tuning. |
Adapted work from containrrr#2054.
If an API update includes a tag in its image filter, it will not be ignored, but it's still possible to provide a tagless image name.