You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/azure-pipelines.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,13 @@ The pipeline is triggered by commits to a specific branch in your repository. Wh
17
17
18
18
## Container Apps Azure Pipelines task
19
19
20
-
To build and deploy your container app, add the [`AzureContainerAppsRC`](https://marketplace.visualstudio.com/items?itemName=microsoft-oryx.AzureContainerAppsRC) (preview) Azure Pipelines task to your pipeline. The task supports the following scenarios:
20
+
To build and deploy your container app, add the [`AzureContainerAppsRC`](https://marketplace.visualstudio.com/items?itemName=microsoft-oryx.AzureContainerAppsRC) (preview) Azure Pipelines task to your pipeline.
21
21
22
-
* Build from a Dockerfile and deploy to Container Apps.
23
-
* Build from source code without a Dockerfile and deploy to Container Apps. Supported languages include .NET, Node.js, PHP, Python, and Ruby.
24
-
* Deploy an existing container image to Container Apps.
22
+
The task supports the following scenarios:
23
+
24
+
* Build from a Dockerfile and deploy to Container Apps
25
+
* Build from source code without a Dockerfile and deploy to Container Apps. Supported languages include .NET, Node.js, PHP, Python, and Ruby
26
+
* Deploy an existing container image to Container Apps
25
27
26
28
### Usage examples
27
29
@@ -68,11 +70,11 @@ The Azure Container Apps task needs to authenticate with your Azure Container Re
68
70
69
71
To push images, the task automatically authenticates with the container registry specified in `acrName` using the service connection provided in `azureSubscription`.
70
72
71
-
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 container app the task is deploying to 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.
73
+
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.
72
74
73
75
## Configuration
74
76
75
-
You take the following steps to configure an Azure DevOps pipeline to deploy to Azure Container Apps.
77
+
Take the following steps to configure an Azure DevOps pipeline to deploy to Azure Container Apps.
76
78
77
79
> [!div class="checklist"]
78
80
> * Create an Azure DevOps repository for your app
@@ -120,15 +122,15 @@ Before creating a pipeline, the source code for your app must be in a repository
120
122
121
123
### Create a container app and configure managed identity
122
124
123
-
Create your container app using the `az containerapp up` command in the following steps. This command will create Azure resources, build the container image, store the image in a registry, and deploy to a container app.
125
+
Create your container app using the `az containerapp up` command with the following steps. This command creates Azure resources, builds the container image, stores the image in a registry, and deploys to a container app.
124
126
125
127
After your app is created, you can add a managed identity to your app and assign the identity the `AcrPull` role to allow the identity to pull images from the registry.
The Azure Container Apps Azure Pipelines task is currently in preview. Before you use it, you must install it from the Azure DevOps Marketplace.
133
+
The Azure Container Apps Azure Pipelines task is currently in preview. Before you use the task, you must install it from the Azure DevOps Marketplace.
132
134
133
135
1. Open the [Azure Container Apps task](https://marketplace.visualstudio.com/items?itemName=microsoft-oryx.AzureContainerAppsRC) in the Azure DevOps Marketplace.
134
136
@@ -197,6 +199,6 @@ To learn more about service connections, see [Connect to Microsoft Azure](/azure
197
199
198
200
1. Select **Save and run**.
199
201
200
-
An Azure Pipelines run should start to build and deploy your container app. To check its progress, navigate to *Pipelines* and select the run. During the first pipeline run, you may be prompted to authorize the pipeline to use your service connection.
202
+
An Azure Pipelines run starts to build and deploy your container app. To check its progress, navigate to *Pipelines* and select the run. During the first pipeline run, you may be prompted to authorize the pipeline to use your service connection.
201
203
202
204
To deploy a new revision of your app, push a new commit to the *main* branch.
Copy file name to clipboardExpand all lines: articles/container-apps/github-actions.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,17 +15,19 @@ Azure Container Apps allows you to use GitHub Actions to publish [revisions](rev
15
15
16
16
:::image type="content" source="media/github-actions/azure-container-apps-github-actions.png" alt-text="Changes to a GitHub repo trigger an action to create a new revision.":::
17
17
18
-
The GitHub Actions workflow is triggered by commits to a specific branch in your repository. When creating the workflow, you decide which branch triggers it.
18
+
The GitHub Actions workflow is triggered by commits to a specific branch in your repository. When creating the workflow, you decide which branch triggers the workflow.
19
19
20
-
This article shows you how to create your own workflow that you can fully customize. To generate a starter GitHub Actions workflow with Azure CLI, see [Generate GitHub Actions workflow with Azure CLI](github-actions-cli.md).
20
+
This article shows you how to create a fully customizable workflow. To generate a starter GitHub Actions workflow with Azure CLI, see [Generate GitHub Actions workflow with Azure CLI](github-actions-cli.md).
21
21
22
22
## Azure Container Apps GitHub action
23
23
24
-
To build and deploy your container app, you add the [`azure/container-apps-deploy-action`](https://github.com/marketplace/actions/azure-container-apps-build-and-deploy) action to your GitHub Actions workflow. The action supports the following scenarios:
24
+
To build and deploy your container app, you add the [`azure/container-apps-deploy-action`](https://github.com/marketplace/actions/azure-container-apps-build-and-deploy) action to your GitHub Actions workflow.
25
25
26
-
* Build from a Dockerfile and deploy to Container Apps.
27
-
* Build from source code without a Dockerfile and deploy to Container Apps. Supported languages include .NET, Node.js, PHP, Python, and Ruby.
28
-
* Deploy an existing container image to Container Apps.
26
+
The action supports the following scenarios:
27
+
28
+
* Build from a Dockerfile and deploy to Container Apps
29
+
* Build from source code without a Dockerfile and deploy to Container Apps. Supported languages include .NET, Node.js, PHP, Python, and Ruby
30
+
* Deploy an existing container image to Container Apps
0 commit comments