我已经设置了一个Azure应用服务,它使用存储在Azure容器注册表中的Docker镜像 . ACR使用Basic SKU .
在App Service的Container设置中,我打开了Continuous Deployment设置 . 当它连接到ACR时,没有像DockerHub那样的webhook .
问题是,当我将它们推入存储库时,似乎没有部署新映像 .
除了打开Continuous Deployment设置之外,我还需要设置任何设置吗?
在App Service的持续部署部分,有一个通知: Continuous Deployment of Azure Container Registry hosted images requires use of the Azure Container Registry SKU.
但是真的不清楚需要什么样的SKU?
当我重新启动应用程序时,我可以在docker日志中看到它正在运行最新的映像,但我必须手动重新启动应用程序才能看到它 .
1 回答
App Service中的持续部署功能标志告诉App Service在收到webhook时重新启动/重新启动 . 它基本上是禁用webhook通知的关闭开关 . 您仍然需要配置webhook . 在地理复制演练中,我们使用自动部署来描述如何设置它:https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-prepare-registry我们正在努力使这更容易,但这为调用App Service的ACR Push Webhook设置了流程