Closed lekpamartin closed 1 year ago
@konstruktoid Have you had time to watch the PR?
Hi,
the code doesn't actually exclude any images or containers, it includes them It is a mistake in the help definition. The purpose is to include images/containers with defined label.
it filters on the label key, not the label value. The use can define : -t maintainer : all label with key "maintainer" -t maintainer=name : all label with key "maintainer" and value "name"
I will push and update of the documentation.
Before it I am looking for a bug when label value contain space. For example -t maintainer=My name
Thx
It is a mistake in the help definition. The purpose is to include images/containers with defined label.
But all containers and images are included by default, or is it to test only those with the defined label?
It test only images/containers with defined label
@lekpamartin can you rewrite the help text? See the review.
@konstruktoid I updated the doc.
Seems "include from" is still present in the documentation.
-t LABEL optional Comma delimited list of labels within a container or image to include from check
Sorry.
Updated
Sorry.
Updated
The text should read Comma delimited list of labels within a container or image to check
Thanks @lekpamartin !
Add an option to filter checked container and image by settings coma separated labels. For exemple to filter on two labels --filter label=key1 --filter label=key2=value2 You have to define -t key1,key2=value2 Thx