zalando-stups / pierone-cli

DEPRECATED: Convenient command line client for STUPS' Pier One Docker registry
http://docs.stups.io/en/latest/components/pierone.html#command-line-client
Other
10 stars 13 forks source link

Document how to fetch latest version of the image #18

Closed valgog closed 8 years ago

valgog commented 9 years ago

I am struggling to understand how the CLI works. The --help does not really help.

I want to get the latest available version of the stups/zmon-scheduler image, how to do that?

I tried all the combinations already, the only thing that I managed to get working is the pierone artifacts stups

hjacobs commented 9 years ago

@valgog you can use the "latest" command:

$ pierone latest -h
Usage: pierone latest [OPTIONS] TEAM ARTIFACT

  Get latest tag/version of a specific artifact

Options:
  -o, --output [text|json|tsv]  Use alternative output format
  -h, --help                    Show this message and exit.

Example usage:

$ pierone latest stups pierone
1.8.4
hjacobs commented 8 years ago

Added example "latest" call here: http://docs.stups.io/en/latest/components/pierone.html#command-line-client