Output file from build
I want to be able to output the test results from dotnet test to azure pipelines using acr build.
Today we use docker create ... && docker cp ... && docker rm ... but this is no longer possible for us since aks 1.19 does not support docker.
We are looking at acr to be our build tool but are unable to nicely access the TestResults folder.
Docker has a --target and --output flag where you could wrap the test files in a scratch image and output to the system.
Using the attached dockerfile and "DOCKER_BUILDKIT=1 docker build --target test-out -o . ." command the test results in exported from the build stage and copied to the host machine.