Skip to content

Fix unsupported protocol schema "" errors with docker image tags provider#17

Merged
mumoshu merged 1 commit intomasterfrom
fix-unsupported-protocol-schema-empty-docker-image-tags
Jan 20, 2026
Merged

Fix unsupported protocol schema "" errors with docker image tags provider#17
mumoshu merged 1 commit intomasterfrom
fix-unsupported-protocol-schema-empty-docker-image-tags

Conversation

@mumoshu
Copy link
Collaborator

@mumoshu mumoshu commented Jan 20, 2026

Apparently the combination of the heroku/docker-registry-client library and Docker Hub is broken when interacting with Docker Hub. Docker Hub now returns relative URL paths in pagination Link headers instead of full URLs.

This causes the heroku library to fail with "unsupported protocol schema """ when fetching tags that span multiple pages, because the request URL for the second page lacks the protocol and host part (since the next link is relative).

This pull request adds our own client that properly handles relative URLs by resolving them against the base registry URL.

@mumoshu mumoshu merged commit 78e3f26 into master Jan 20, 2026
0 of 2 checks passed
@mumoshu mumoshu deleted the fix-unsupported-protocol-schema-empty-docker-image-tags branch January 20, 2026 01:28
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.

1 participant