Skip to content

[Bug]: Containerization bearer login doesn't work with europe-docker.pkg.dev as of 1.3.1 #939

Description

@annonymouse

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

gcloud auth print-access-token | container registry login -u oauth2accesstoken --password-stdin europe-docker.pkg.dev
Error: HTTP request to https://europe-docker.pkg.dev/v2/ failed with response: 401 Unauthorized. Reason: invalidArgument: "cannot parse service from WWW-Authenticate header"

Current behavior

When trying to perform a login to a google docker registry, the bearer token login fails

Expected behavior

It should log you in

Environment

- OS: any
- Xcode: any
- Swift: any

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions