| # Starter pipeline | |
| # Start with a minimal pipeline that you can customize to build and deploy your code. | |
| # Add steps that build, run tests, deploy, and more: | |
| # https://aka.ms/yaml | |
| trigger: none | |
| jobs: | |
| - job: RunTest | |
| workspace: | |
| clean: all | |
| pool: | |
| vmImage: 'ubuntu-latest' | |
| steps: | |
| - task: Docker@2 | |
| displayName: Login to ACR | |
| inputs: | |
| command: login | |
| containerRegistry: my-acr | |
| - script: | | |
| docker run my-registry.azurecr.io/somerepo/rnd-hello:latest |