简体   繁体   English

Azure容器注册表中的Azure App Service连续部署

[英]Azure App Service continuous deployment from Azure Container Registry

I've setup an Azure App Service which uses a Docker image stored in Azure Container Registry. 我已经设置了Azure应用服务,该服务使用存储在Azure容器注册表中的Docker映像。 The ACR uses Basic SKU. ACR使用基本SKU。

Inside the App Service's Container settings I've turned on the Continuous Deployment settings. 在App Service的“容器”设置中,我打开了“持续部署”设置。 When it is connected to ACR there is no webhook like in DockerHub. 当它连接到ACR时,没有像DockerHub这样的Webhook。

The problem is that it doesn't seem to deploy new images when I push them into the repository. 问题在于,当我将新映像推送到存储库中时,似乎没有部署新映像。

Do I need to setup anything beside turning on the Continuous Deployment setting? 除了启用“持续部署”设置外,是否需要设置其他任何内容?

Under the Continuous Deployment section of App Service there is a notice: Continuous Deployment of Azure Container Registry hosted images requires use of the Azure Container Registry SKU. 在App Service的“持续部署”部分下,有一个通知: Continuous Deployment of Azure Container Registry hosted images requires use of the Azure Container Registry SKU. but it's really not clear what SKU is required? 但实际上还不清楚需要什么SKU?

When I restart the app I can see in the docker logs that it is running the latest image but I had to restart the app manually to see it. 重新启动应用程序时,我可以在docker日志中看到它正在运行最新的映像,但是我必须手动重新启动应用程序才能看到它。

The continuous deployment feature flag in App Service tells App Service to restart/re-pull when it receives a webhook. App Service中的持续部署功能标志告诉App Service在收到Webhook时重新启动/重新拉动。 It's basically an off switch to disable webhook notifications. 从本质上讲,它是一个关闭开关,用于禁用Webhook通知。 You still need to configure the webhook. 您仍然需要配置Webhook。 Within the geo-replication walkthrough, we use automated deployments to describe how to set this up: https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-prepare-registry We are working on making this easier, but this sets up the flow for an ACR Push Webhook that calls App Service 在地理复制演练中,我们使用自动部署来描述如何进行设置: https : //docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-prepare-registry努力使之更容易,但这为调用App Service的ACR Push Webhook设置了流程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Pulumi:添加Azure Web App Service web hook到Azure Container Registry进行持续部署 - Pulumi: Add Azure Web App Service web hook to Azure Container Registry for continuous deployment Azure AppService持续部署从容器注册表标签选择 - Azure AppService continuous deployment from container registry tag selection Powershell + Azure 应用服务 + Azure 容器注册表 - Powershell + Azure App Service + Azure Container Registry 从Visual Studio Team Services到Azure App Service的连续部署 - Continuous deployment from Visual Studio Team Services to Azure App Service VSTS的Azure App Service连续部署 - Azure App Service Continuous Deployment with VSTS Azure APP服务。+私有链接+ Azure容器注册表 - Azure APP Service.+ Private Link + Azure Container Registry 如何使用私有 Azure Container Registry 创建一个 Azure APP Service? - How to create a Azure APP Service with a private Azure Container Registry? 使用Github的Azure'Linux Web App'应用服务连续部署被破坏 - Azure 'Web App on Linux' app service continuous deployment with Github is broken Azure App Service连续部署Webhook不起作用 - Azure App Service Continuous Deployment Webhook doesn't work 从Azure Kubernetes Service使用Azure容器注册表进行身份验证时发出的问题 - Issue of while Authenticate with Azure Container Registry from Azure Kubernetes Service
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM