Skip to content

Instantly share code, notes, and snippets.

@dynax60
Created January 21, 2021 11:35
Show Gist options
  • Save dynax60/80db096112857f36ae96087511078f5b to your computer and use it in GitHub Desktop.
Save dynax60/80db096112857f36ae96087511078f5b to your computer and use it in GitHub Desktop.
To get a tags from the remote docker repository
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