Skip to content

Support credential helpers for pull#524

Draft
Harshal96 wants to merge 2 commits into
bazel-contrib:mainfrom
Harshal96:feat/support-credential-helper-for-pull
Draft

Support credential helpers for pull#524
Harshal96 wants to merge 2 commits into
bazel-contrib:mainfrom
Harshal96:feat/support-credential-helper-for-pull

Conversation

@Harshal96
Copy link
Copy Markdown
Contributor

@Harshal96 Harshal96 commented May 17, 2026

Summary

  • propagate credential helper and Docker config settings through pull repository rules and the images module extension
  • pass credential auth environment into pull-tool executions and lazy DownloadBlob actions
  • prefer configured Bazel credential helpers before Docker config keychains so a broken Docker config helper does not block pulls
  • add regression coverage for helper precedence and lazy blob action environment wiring
  • regenerate generated pull/extensions docs

fixes #473

Validation

  • bazel test @rules_img_pull_tool//pkg/auth/... @rules_img_tool//pkg/auth/... //img/private:download_blobs_test
  • bazel test //docs:all //util:buildifier.check
  • bazel build //img/private/repository_rules:all //img/private/extensions:all //img:pull //img:extensions @rules_img_pull_tool//pkg/auth/registry:registry @rules_img_tool//pkg/auth/registry:registry

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.

Support credential helper for pull instead of docker config.json

1 participant