From ec772c7e5bf4890664a49f27848d16444d858a53 Mon Sep 17 00:00:00 2001 From: Itai Gendler Date: Tue, 16 Jan 2018 23:17:10 +0200 Subject: [PATCH] Add ability to filter images by tag --- docs-template/content/contexts/_index.md | 10 ++++---- .../content/images/Get a single image.md | 1 + .../create-authentication-context/index.html | 25 +++++++++++++++++++ docs/builds/get-a-single-build/index.html | 10 ++++++++ docs/contexts/index.html | 14 +++++------ docs/images/get-a-single-image/index.html | 6 +++++ docs/index.json | 4 +-- docs/index.xml | 2 +- docs/predefined-pipelines/index.html | 15 +++++++++++ .../index.html | 18 ++++++------- examples/pipeline2-git.yml | 8 +++--- examples/pipeline2-url.yml | 2 +- lib/interface/cli/commands/image/get.cmd.js | 8 ++++++ lib/logic/api/image.js | 1 + package.json | 2 +- 15 files changed, 95 insertions(+), 31 deletions(-) diff --git a/docs-template/content/contexts/_index.md b/docs-template/content/contexts/_index.md index d356592d0..534bf3506 100644 --- a/docs-template/content/contexts/_index.md +++ b/docs-template/content/contexts/_index.md @@ -2,16 +2,16 @@ title = "Contexts" +++ -### [Update a context](update-a-context) -`codefresh patch context` - -Apply changes to a context - ### [Create a context](create-a-context) `codefresh create context [type] [name]` Create a context +### [Update a context](update-a-context) +`codefresh patch context` + +Apply changes to a context + ### [Delete a context](delete-a-context) `codefresh delete context [name]` diff --git a/docs-template/content/images/Get a single image.md b/docs-template/content/images/Get a single image.md index 5d73ece7a..f780319c3 100644 --- a/docs-template/content/images/Get a single image.md +++ b/docs-template/content/images/Get a single image.md @@ -18,6 +18,7 @@ Option | Default | Description --limit | 25 | Limit amount of returned results --all | | Return images from all possible registries (by default only r.cfcr.io images will be returned) --label | | Filter by a list of annotated labels +--tag | | Filter by a list of tags --sha | | Filter by specific commit sha --image-name | | Filter by specific image name --branch | | Filter by specific branch diff --git a/docs/authentication/create-authentication-context/index.html b/docs/authentication/create-authentication-context/index.html index 9f3f3f3b7..a619c6885 100644 --- a/docs/authentication/create-authentication-context/index.html +++ b/docs/authentication/create-authentication-context/index.html @@ -173,6 +173,31 @@ Contexts
  • diff --git a/docs/builds/get-a-single-build/index.html b/docs/builds/get-a-single-build/index.html index 2a25667d4..310515853 100644 --- a/docs/builds/get-a-single-build/index.html +++ b/docs/builds/get-a-single-build/index.html @@ -205,6 +205,16 @@ Environments
  • diff --git a/docs/contexts/index.html b/docs/contexts/index.html index 50d6b9fe5..1fdb279c9 100644 --- a/docs/contexts/index.html +++ b/docs/contexts/index.html @@ -352,8 +352,8 @@