add primitive script to get image tags from hub.docker.com

This commit is contained in:
Frieder Schlesier 2018-10-29 10:51:18 +01:00
parent 7401fd4e54
commit 6e2daca14e
1 changed files with 8 additions and 0 deletions

8
bin/dtags Executable file
View File

@ -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"]'