@dott-nagayama Looks like the command does not support this today. It would best to raise a feature request on the repo for Azure CLI to support this scenario.
That being said, this command internally uses ACR to build the image and the az acr build command supports passing build arguments. So, instead of using the az containerapp up
command to build your image, you can first build it separately in your ACR and then call this command with the image name and registry details to create the containerapp.
While you need two commands to achieve the same, the time taken should not really be different since the az containerapp up
command does the same internally, albeit with less flexibility.