When trying to run a release pipeline in Azure DevOps, the following warning started to appear for all our builds:
Ubuntu 16.04 LTS environment is deprecated and will be removed on September 20, 2021. Migrate to ubuntu-latest instead.
To get rid of this warning, we had to explicitly specify the vmImage property inside our YAML build template:
More information: https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema%2Cparameter-schema#pool