Skip to content

Commit 44383f3

Browse files
authored
Update azure-pipelines.md
1 parent 0870d14 commit 44383f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/container-apps/azure-pipelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The task uses the Dockerfile in `appSourcePath` to build the container image. If
4949

5050
#### Deploy an existing container image to Container Apps
5151

52-
The following snippet shows how to deploy an existing container image to Container Apps. The task attempts to authenticate with the registry using the service connection. If the service connection's identity is assigned the `AcrPush` role for the registry, supply the credentials using the `acrUsername` and `acrPassword` input parameters.
52+
The following snippet shows how to deploy an existing container image to Container Apps. The task attempts to authenticate with the registry using the service connection. If the service connection's identity isn't assigned the `AcrPush` role for the registry, supply the credentials using the `acrUsername` and `acrPassword` input parameters.
5353

5454
```yaml
5555
steps:
@@ -68,7 +68,7 @@ steps:
6868

6969
The Azure Container Apps task needs to authenticate with your Azure Container Registry to push the container image. The container app also needs to authenticate with your Azure Container Registry to pull the container image.
7070

71-
To push images, the task automatically authenticates with the container registry specified in `acrName` using the service connection provided in `azureSubscription`.
71+
To push images, the task automatically authenticates with the container registry specified in `acrName` using the service connection provided in `azureSubscription`. If the service connection's identity isn't assigned the `AcrPush` role for the registry, supply the credentials using `acrUsername` and `acrPassword`.
7272

7373
To pull images, Azure Container Apps uses either managed identity (recommended) or admin credentials to authenticate with the Azure Container Registry. To use managed identity, the target container app for the task must be [configured to use managed identity](managed-identity-image-pull.md). To authenticate with the registry's admin credentials, set the task's `acrUsername` and `acrPassword` inputs.
7474

0 commit comments

Comments
 (0)