-
Notifications
You must be signed in to change notification settings - Fork 153
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
It appears that remote downloader does not pass HTTP headers #758
Comments
Hi, I'm not sure how this relates to bazel-remote? |
If you use --experimental_remote_downloader to delegate HTTP downloads from Bazel to Bazel Remote Cache, the cache appears to omit custom HTTP headers that Bazel itself supports since 7.1.0: bazelbuild/bazel#17829 |
Merged @xuzhenglun's PR, hopefully that resolves this issue- please let me know if not. |
Thanks, will test by tomorrow. |
When working with Bazel OCI rules I can download images from a local Docker registry with remote downloader disabled.
When I enable --experimental_remote_downloader, OCI rules fail to download images and the local Docker registry logs the following error:
"OCI manifest found, but accept header does not support OCI manifests"
This indicates that the remote downloader does not support headers passed to repository_ctx.download. Support for settings cutom headers is implemented in Bazel itself:
bazelbuild/bazel#17829
https://blog.aspect.build/custom-download-headers
The text was updated successfully, but these errors were encountered: