Skip to content

Instantly share code, notes, and snippets.

@looztra
Last active March 26, 2019 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save looztra/d243b0366f30be8f601e123945807a11 to your computer and use it in GitHub Desktop.
Save looztra/d243b0366f30be8f601e123945807a11 to your computer and use it in GitHub Desktop.
List tags and Filter out some patterns with jq
wget -q https://registry.hub.docker.com/v2/repositories/looztra/yamkix/tags -O - | jq -r '.results[] | select ((.name|endswith("latest")|not) and (.name|startswith("circle")|not)) | .name'
"0.3.0-239836d"
"0.2.2-7b96154"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment