Skip to content

Support json keys as credentials to access private registries #8938

@princerachit

Description

@princerachit

Is your feature request related to a problem? Please describe

As a gitpod user who wants to use private registries to pull images, I want to use my json key instead of plain username:password to configure registry access. i.e. my password could be a json e.g. service account key of google cloud.

With #8550 a support for using username:password was added but it fails when the auth config passed is built using a json key e.g.

echo $key | docker login -u _json_key --password-stdin

Describe alternatives you've considered

NA

Additional context

Failure

image

Private image

europe-docker.pkg.dev/prince-tf-experiments/dazzle/workspace-images:base

Metadata

Metadata

Assignees

Labels

team: workspaceIssue belongs to the Workspace team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions