From 6e2daca14eee26d5bacd1678bb902ba27f3da5bb Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Mon, 29 Oct 2018 10:51:18 +0100 Subject: [PATCH] add primitive script to get image tags from hub.docker.com --- bin/dtags | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/dtags diff --git a/bin/dtags b/bin/dtags new file mode 100755 index 0000000..73bca70 --- /dev/null +++ b/bin/dtags @@ -0,0 +1,8 @@ +#!/bin/bash + +set +x +set +e +set +o pipefail + +image=$1 +curl -s "https://registry.hub.docker.com/v2/repositories/${image}/tags/" | jq -r '."results"[]["name"]'