Skip to content

Continual error Authenticating from Azure Container App to Container RegistryΒ #121

@CCBrenner

Description

@CCBrenner

I'm using a user-assigned managed identity for the authentication. I can give more details if needed, but I wanted to start with the approach to ensure I am doing this correctly. Currently it seems like something is wrong but this is also my first time doing this so I very well could be wrong.

I get the following error no matter what I do to try and setup authentication between Azure Container App to Container Registry. This is part of a GH Workflow to create a Docker image, push it to ACR, then update the existing Azure Container App.

Image

I checked to make sure the Container App expects that type of token; it does. I also ensured I set up the user-assigned managed identity in both the app and the registry; it is. I also ensured the user-assigned managed identity has the Azure role "AcrPull" assigned to it; it does.

I'm authenticating from GH Actions to Azure using a service principle but the App authenticates to the Registry using the user-assigned managed identity. This seemed like a potential snag point, but my research says it should not be due to authentication contexts being distinct and separate.

I don't know what else is preventing me from authenticating correctly. Can someone give some insight?

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