Skip to content

koki-develop/docker-tags

Repository files navigation

docker-tags

GitHub release (latest by date) GitHub GitHub Workflow Status Go Report Card

Command line tool to get a list of tags for docker images. It can also be used as a docker cli plugin.

Supported Registry

Note

For the Amazon ECR and ECR Public, an AWS Profile must be configured.
See documentation for details.

Note

For the private Google Container Registry and Google Artifact Registry, you must set Google's Application Default Credentials.
See documentation for details.

Installation

Homebrew

$ brew install koki-develop/tap/docker-tags

go install

$ go install github.com/koki-develop/docker-tags@latest

Docker CLI Plugin

$ git clone https://github.com/koki-develop/docker-tags.git
$ cd docker-tags
$ make
$ mkdir -p $HOME/.docker/cli-plugins/
$ mv ./dist/docker-tags $HOME/.docker/cli-plugins/
$ docker tags --help

Release

Download the binary from the releases page.

Usage

Command line tool to get a list of tags for docker images.

Usage:
  docker-tags [IMAGE] [flags]

Flags:
      --aws-profile string   aws profile
  -h, --help                 help for docker-tags
  -o, --output string        output format (text|json) (default "text")
  -v, --version              version for docker-tags
  -n, --with-name            print with image name
$ docker-tags alpine
latest
edge
3.9.6
3.9.5
...
# json format
$ docker-tags alpine -o json
[
  "latest",
  "edge",
  "3.9.6",
  "3.9.5",
  ...
]

LICENSE

LICENSE

About

🐳 Command line tool to get a list of tags for docker images.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published