Created
January 21, 2021 11:35
-
-
Save dynax60/80db096112857f36ae96087511078f5b to your computer and use it in GitHub Desktop.
To get a tags from the remote docker repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q https://registry.hub.docker.com/v1/repositories/gitlab/gitlab-ce/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}' | egrep '^12.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment