You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom Bazel credential helper that can derive working Authorization headers for oci registries. In one case, this is for ghcr.io, for which rules_oci has a token realm preconfigured.
This can lead to situations where my credential helper would inject the right headers for pulling an image, but the extra requests (and command executions for docker credential helpers) fail before I get there.
I would like to have a setting (like a repo_env var) for disabling the builtin credential handling completely, since my docker config may be missing or misconfigured.
Happy to implement such a setting, but I‘d like to know if that’s something that can be merged first.
The text was updated successfully, but these errors were encountered:
malt3
linked a pull request
Jan 3, 2025
that will
close
this issue
I have a custom Bazel credential helper that can derive working
Authorization
headers for oci registries. In one case, this is forghcr.io
, for whichrules_oci
has a token realm preconfigured.This can lead to situations where my credential helper would inject the right headers for pulling an image, but the extra requests (and command executions for docker credential helpers) fail before I get there.
I would like to have a setting (like a
repo_env
var) for disabling the builtin credential handling completely, since my docker config may be missing or misconfigured.Happy to implement such a setting, but I‘d like to know if that’s something that can be merged first.
The text was updated successfully, but these errors were encountered: