-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pull/push redirect #299
Comments
Yep, you're right. We should allow @robberphex - how does this apply to push, though? |
hey guys , does this mean that conformance tests would fail with redirect enabled? |
@guacamole I do not think so.. please let us know if so. The underlying client should be configured to follow redirects: https://github.com/bloodorangeio/reggie/blob/master/client.go#L80 |
@jdolitsky , you're absolutely right. It was my little fault. fixed it and it works just fine!! |
I noticed that distribution spec v1.0.0 doesn't support pull blobs via 307 status code:
That's a really strong requirement.
And at Docker Registry HTTP API V2, client can accept 307 response:
Currently, almost all registries are using CDN to distribute blobs:
DockerHub is using 307 to redirect to CDN
Github Packages(ghcr.io) is using 307 to redirect to CDN
Aliyun CR is using 307 to redirect to CDN
I propose we add the pull/push redirect to the distribution spec.
Any ideas?
The text was updated successfully, but these errors were encountered: