From 64160f6f0293a06964415dbc93e9ca570f9c3ef9 Mon Sep 17 00:00:00 2001 From: Steve Haigh Date: Fri, 21 Feb 2020 18:58:49 +0000 Subject: [PATCH] Use correct parameter names in web app deploy It is not clear from the docs, but looking at the source code for the AzureWebAppContainer task it need a resource group and an image name (as opposed to container name). These parameters deploy successfully for me. I'm not sure about the azureSubscription value, it might not be needed but I've left it as it was. --- .pipelines/diabetes_regression-ci-build-train.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pipelines/diabetes_regression-ci-build-train.yml b/.pipelines/diabetes_regression-ci-build-train.yml index 9d9ed3b1..fa3d0743 100644 --- a/.pipelines/diabetes_regression-ci-build-train.yml +++ b/.pipelines/diabetes_regression-ci-build-train.yml @@ -180,7 +180,8 @@ stages: inputs: azureSubscription: 'AzureResourceConnection' appName: '$(WEBAPP_DEPLOYMENT_NAME)' - containers: '$(IMAGE_LOCATION)' + resourceGroupName: '$(RESOURCE_GROUP)' + imageName: '$(IMAGE_LOCATION)' - task: AzureCLI@1 displayName: 'Smoke test' inputs: