diff --git a/cmd/deploy_azure.go b/cmd/deploy_azure.go index f5cc322..8ca3c3b 100644 --- a/cmd/deploy_azure.go +++ b/cmd/deploy_azure.go @@ -183,6 +183,9 @@ func runDeployAzure(cmd *cobra.Command, args []string) error { if err != nil { return err } + if azureRepoURL != "" { + defer os.RemoveAll(repoRoot) + } fmt.Printf("\nšŸ—ļø Building Docker images from %s...\n", repoRoot) // Create ACR (idempotent — safe for re-runs)