TulikaC explains how to use GitHub Actions and Azure Pipelines templates to deploy helper sidecars with Azure App Service for Linux, making CI/CD setup seamless for various runtime and container scenarios.

Add Sidecars to Azure App Service for Linux—via GitHub Actions or Azure Pipelines

Sidecars on Azure App Service let you run additional containers—such as telemetry, monitoring agents, lightweight APIs, caches, and AI helpers—right next to your primary app. These sidecars share the same lifecycle and local networking, all without changes to your core app code.

CI/CD Templates Available

We’ve published plug-and-play templates for:

  • GitHub Actions

    Sample workflows for both built-in runtimes (Python, Node.js, .NET, Java, PHP) and custom containers. Attach sidecars using the sitecontainers config.

  • Azure Pipelines (VSTS)

    YAML templates enable builds/deploys for code-based apps (AzureWebApp@1) and containerized apps (AzureWebAppContainer@1). Sidecars are declared in the same run—mark one container as isMain: true and others as sidecars.

When to Use Which Template

  • Code-based Apps (Built-in Linux runtime): Use “blessed/built-in runtime” template—your app runs on App Service runtime, sidecars run beside it.
  • Custom Containers (Web App for Containers): Use the containers template to build/push multiple images and deploy together.

Quick Start Steps

  1. Add the template to your repository (select workflow for GitHub or YAML for VSTS).
  2. Configure authentication via OIDC or service connection; specify app name, resource group, registry, and details for sidecar images/ports.
  3. Run the pipeline; view both main app and sidecars in the Azure portal.

Author & Additional Details


By dropping in a pre-made template and declaring your sidecars, you can extend your App Service environment with new capabilities on a shared lifecycle—no need to refactor your main application.

This post appeared first on “Microsoft Tech Community”. Read the entire article here