Fetch latest valid mysql tag from docker hub using jq – Debian
I am using following command to fetch all release tags from mysql on docker hub : wget -q https://registry.hub.docker.com/v1/repositories/mysql/tags -O - | jq -r .[].name Output is: 5.7.38 5.7.38-debian 5.7.38-oracle 5.7.4 5.7.4-m14 5.7.5 5.7.5-m15 5.7.6 5.7.6-m16 5.7.7 5.7.7-rc 5.7.8 5.7.8-rc…