I need to pass the build id parameter from Azure Devops to a dockerfile from a yaml pipeline. Unfortunately Azure Devops doesn't support the docker build-args
parameter as below.
Be aware that if you use value buildAndPush for the command parameter, then the arguments property will be ignored. source
Is there any other way to pass arguments from Azure Devops through to a dockerfile?