The Azure ACI Extension for Azure CLI adds az aci up Functionality to the Azure CLI.
- Install the Azure CLI
- Add the ACI Extension. Go to the releases tab and download the latest release. Then use the command
az extension add -s '(path-to-whl-file)'(Replace path-to-whl-file to the path where you download the whl file). - Run the
az logincommand
$ az aci up --code [link-to-repository]
--code : Link to Code Repository (Empty if Current Working Directory Contains the Code).
--acr : Specify an existing Azure Container Registry to push your image to. (Otherwise asks the user)
--do-not-wait : Do not wait for workflow completion. (Default False).
--port : Port on which your application runs (Default is 8080).
--skip-secrets-generation : Set to True if have stored AZURE_CREDENTIALS & Registry Details Secrets in your Repository (Default False).