Skip to content

Add Docker auth configuration for Artifact Registry - #6194

Draft
yolocs wants to merge 1 commit into
databricks:mainfrom
yolocs:chen-shou_data/stack/dar-configure-docker
Draft

Add Docker auth configuration for Artifact Registry#6194
yolocs wants to merge 1 commit into
databricks:mainfrom
yolocs:chen-shou_data/stack/dar-configure-docker

Conversation

@yolocs

@yolocs yolocs commented Aug 6, 2026

Copy link
Copy Markdown

Adds databricks auth configure-docker so users can configure Docker authentication for the Artifact Registry associated with their workspace. The command derives the registry hostname from the selected workspace profile host plus --region, supports the Databricks DNS zones used across clouds/environments, and updates Docker's credential-helper configuration.

The Docker credential-helper output uses Docker's get response format with username oauthtoken and the raw OAuth token as the secret.

Testing

  • go test ./cmd/auth -run 'TestTokenDockerFormatEmitsGetResponse' -count=1
  • go test ./libs/dockercredentials ./cmd/auth ./cmd/root -count=1
  • ./task checks

Signed-off-by: Chen Shou <chen.shou@databricks.com>
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