Skip to content

Support wildcard tags for non-Docker Hub entries - #567

Open
wbenoit26 wants to merge 1 commit into
opensciencegrid:masterfrom
wbenoit26:registry-v2-tags
Open

wbenoit26 wants to merge 1 commit into
opensciencegrid:masterfrom
wbenoit26:registry-v2-tags

Conversation

@wbenoit26

Copy link
Copy Markdown

Currently, wildcard entries work only for Docker Hub. The get_tags function calls DockerHub.tags, which looks for /v2/repositories/<name>/<repo>/tags. Other container registries don't implement this format, instead using /v2/<name>/tags/list. I've added a registry_tags function, which fetches the tags for every registry besides Docker Hub. The existing Docker Hub logic is unchanged, so all of the existing wildcard entries should be unaffected.

@mcoughlin

Copy link
Copy Markdown
Contributor

@rynge This is a helpful capability for us in case you have time to review at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants