Skip to content

Instantly share code, notes, and snippets.

@nickboldt
Created October 7, 2019 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickboldt/bde33a9a99312329ec3fb7540d8f5fe0 to your computer and use it in GitHub Desktop.
Save nickboldt/bde33a9a99312329ec3fb7540d8f5fe0 to your computer and use it in GitHub Desktop.
get.latest.image.tags.skopeo.sh
for d in \
operator server devfileregistry pluginregistry pluginbrokerinit pluginbroker machineexec \
jwtproxy theia-dev theia; do \
url=quay.io/crw/${d}-rhel8; echo -n "http://${url}:"; \
skopeo inspect docker://${url} | yq .RepoTags | egrep -v "\[|\]|latest" | tr -d "\" " | sort -V | tail -1;
done
for d in cpp dotnet golang java node php python; do
url=quay.io/crw/stacks-${d}-rhel8; echo -n "http://${url}:"; \
skopeo inspect docker://${url} | yq .RepoTags | egrep -v "\[|\]|latest" | tr -d "\" " | sort -V | tail -1;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment