15 lines
309 B
Bash
Executable File
15 lines
309 B
Bash
Executable File
#!/bin/env bash
|
|
|
|
Registry=http://homestore.cvtt.vpn:5500
|
|
|
|
Catalog=${Registry}/v2/_catalog
|
|
|
|
jstr=$(curl -s -X GET ${Catalog})
|
|
|
|
# echo ${jstr}
|
|
|
|
echo "${jstr}" | jq -r '.repositories[]' | while read repo; do
|
|
TagListURL="${Registry}/v2/${repo}/tags/list"
|
|
# echo $repo
|
|
curl -s -X GET ${TagListURL}
|
|
done |