Skip to content

Commit

Permalink
Fix docker-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
yongjhih committed Apr 6, 2016
1 parent 402d70e commit 0280438
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docker-tags
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
#!/usr/bin/env bash
curl -s -S "https://registry.hub.docker.com/v2/repositories/yongjhih/parse-server/tags/" | jq '.results[]["name"]' | sort
json=`curl -s -S "https://registry.hub.docker.com/v2/repositories/yongjhih/parse-server/tags/"`
while [ "$json" ]; do
echo "$json" | jq '.results[]["name"]'
next=`echo "$json" | jq -r '.next'`
if [ "$next" ]; then
json=`curl -s -S "$next"`
else
json=
fi
done | sort 2> /dev/null

0 comments on commit 0280438

Please sign in to comment.