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

  1. added theissue type on Sep 29, 2026
  2. annonymouse commented on Sep 29, 2026

    @annonymouse
    ContributorAuthor
  3. added a commit that references this issue on Sep 29, 2026
    f265bf0
  4. added 2 commits that reference this issue on Sep 30, 2026
    62614f3
    61a2c40
  5. added a commit that references this issue on Oct 1, 2026
    f24df2a
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