From 1957d958b575f47ecff1481a4c76f4a7cbfa60b7 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 1 Feb 2017 10:04:46 +0100 Subject: Update README.md how to query latest tags --- docker/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 74130d5..2267597 100644 --- a/docker/README.md +++ b/docker/README.md @@ -4,7 +4,11 @@ As an example we build a new version (2.2.0) of the leapcode/ruby image: ## Find latest version -I.e. look at the tags at https://hub.docker.com/r/leapcode/ruby/tags/ +I.e. look at the tags at https://hub.docker.com/r/leapcode/ruby/tags/ or query tags with: + + curl -s https://registry.hub.docker.com/v2/repositories/leapcode/jessie/tags/ |jq '."results"[]["name"]' + +## Build new version VERSION='2.2.0' IMAGE='ruby' -- cgit v1.2.3