I have an ARM template set up to deploy a Docker Image to an Azure App Service, but I'm having trouble finding out how to enable continuous deployment via any method other than the UI. There's instructions here:
https://learn.microsoft.com/en-us/azure/app-service/containers/app-service-linux-ci-cd
But I want to use ARM templates so my setup is identical, repeatable and disposable - is there any way to do this?
To enable continuous integration you can simply set the DOCKER_ENABLE_CI app setting:
resource site 'Microsoft.Web/sites@2021-02-01' = {
  properties: {
    siteConfig: {
      appSettings: [
        {
          name: 'DOCKER_ENABLE_CI'
          value: 'true'
        }
      ]
    }
  }
}
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With