From 66798e993a1d3c111f15a85242cac1427c39f53e Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Tue, 29 Sep 2020 16:40:10 -0400 Subject: Search repository tags using --list-tags For fix of BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1684263 Add --list-tags to podman search to return a table the repository tags. Signed-off-by: Qi Wang --- pkg/api/server/register_images.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/api/server') diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index ad779203d..c2423218a 100644 --- a/pkg/api/server/register_images.go +++ b/pkg/api/server/register_images.go @@ -169,6 +169,10 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error { // - `is-automated=(true|false)` // - `is-official=(true|false)` // - `stars=` Matches images that has at least 'number' stars. + // - in: query + // name: listTags + // type: boolean + // description: list the available tags in the repository // produces: // - application/json // responses: -- cgit v1.2.3-54-g00ecf