Skip to content

Workload Identity Federation broken since v2.1.26 #180

@antdking

Description

@antdking

When using Workload Identity Federation via OIDC without SA impersonation, docker-credential-gcr now reports that the "token was invalid".

$ echo "europe-west2-docker.pkg.dev" | docker-credential-gcr get
docker-credential-gcr/helper: could not retrieve GCR's access token: docker-credential-gcr/helper: token was invalid

The last working version was v2.1.25, so this is possibly an upstream issue with the new cloud auth library.
I have already tried compiling against a newer version of the auth library, to no avail.

For our usecase, we're utilising Gitlab CI, configured as per here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions