summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-02-01 10:04:46 +0100
committervarac <varacanero@zeromail.org>2017-02-01 10:04:46 +0100
commit1957d958b575f47ecff1481a4c76f4a7cbfa60b7 (patch)
tree6b8f277be0181388c151901ba12fa8e3681a9af5
parent613d2db9e878a75cc23a9f50a17ba06a0b17ffce (diff)
Update README.md how to query latest tags
-rw-r--r--docker/README.md6
1 files changed, 5 insertions, 1 deletions
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'