I currently have bitbucket pipeline building a docker image and pushing it to Azure Container Registry. The image from the ACR is Continuously deployed through an Azure App Service.
I don’t want to use docker and want to integrate bitbucket with the app service directly.
I tried doing this with the following CLI command
az webapp deployment source config
--name <name>
--resource-group <group>
--repo-url https://bitbucket.org/<repo>
--branch <branch>
--git-token <token>
--verbose
I get the below error despite having the correct URL and git-token set up
location is not a known attribute of class <class 'azure.mgmt.web.v2023_01_01.models._models_py3.SourceControl'> and will be ignored
source_control_name is not a known attribute of class <class 'azure.mgmt.web.v2023_01_01.models._models_py3.SourceControl'> and will be ignored
location is not a known attribute of class <class 'azure.mgmt.web.v2023_01_01.models._models_py3.SiteSourceControl'> and will be ignored
Cannot find SourceControlToken with name Bitbucket.
How do I modify my deployment settings to point to Bitbucket and not deploy from Azure Container Registry anymore?
Srikrishna Balasubramanian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.