Azure Container Apps is a fully managed serverless container service for building and deploying modern apps at scale. Today, we’re introducing new preview features to make it even easier to build and deploy container apps:
These features are currently in public preview. Try them out and let us know what you think!
With the azure/container-apps-deploy-action GitHub action, you can build and deploy container apps directly from your GitHub repository. Here's an example GitHub Actions workflow that builds a container image from source code and deploys it to Azure Container Apps:
name: Azure Container Apps Build and Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log in to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Build and deploy Container App
uses: azure/container-apps-deploy-action@v0
with:
appSourcePath: ${{ github.workspace }}/src
acrName: myregistry
containerAppName: my-container-app
resourceGroup: my-container-app-rg
For more information, see the Azure Container Apps GitHub Actions documentation.
With the Azure Container Apps task in Azure Pipelines, you can build and deploy container apps directly from your build or release pipeline. Here's an example Azure DevOps build pipeline that builds a container image from source code and deploys it to Azure Container Apps:
trigger:
branches:
include:
- main
pool:
vmImage: ubuntu-latest
steps:
- task: AzureContainerAppsRC@0
inputs:
appSourcePath: '$(Build.SourcesDirectory)/src'
azureSubscription: 'my-azure-service-connection'
acrName: 'myregistry'
containerAppName: 'my-container-app'
resourceGroup: 'my-container-app-rg'
There will be two versions of the task that you can choose from:
For more information, see the Azure Container Apps Azure Pipelines documentation.
Azure Container Apps now supports building container images from source code without a Dockerfile. This makes it even easier to build and deploy container apps.
Dockerfile-less builds are powered by the Microsoft Oryx open-source project. Supported languages and runtimes include: .NET, Python, Node.js, PHP, Ruby, and Go.
Here are the tools that currently support Dockerfile-less builds:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.