CmdID / az / az aks / az aks draft
az aks draft generate-workflow
Generate a GitHub workflow for automatic build and deploy to AKS Azure CLI extensions reference
7 options Its page in the Azure CLI extensions reference
Options
--branchSpecify the GitHub branch to automatically deploy from.--cluster-nameSpecify the AKS cluster name.--container-nameSpecify the name of the container image.--destinationSpecify the path to the project directory (default is .).--pathAutomatically download and use the Draft binary at the specified location.--registry-nameSpecify the path to the project directory.--resource-groupSpecify the name of the Azure resource group.