Azure / Azure/container-apps-deploy-action

Continual error Authenticating from Azure Container App to Container Registry

Open
#121 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
94
Forks
51
Avg merge
4d 18h
Merged PRs (30d)
1

Description

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](https://github.com/user-attachments/assets/95259956-d650-49c5-83a4-221b2cd573c3)

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.