Changed Azure pipeline to run on Default agent pool and for all branches

This commit is contained in:
Andrea Bondavalli 2023-02-28 20:42:36 +01:00
parent 816388d1d2
commit 09ee61400e

View File

@ -1,9 +1,9 @@
# Docker
# Build a Docker image
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
# Azure pipeline to build and run daemon tests into Docker image
trigger:
- master
branches:
include:
- '*'
resources:
- repo: self
@ -13,15 +13,12 @@ variables:
stages:
- stage: Build
displayName: Build image
jobs:
- job: Build
displayName: Build
pool:
vmImage: ubuntu-latest
pool: Default
steps:
- task: Docker@2
displayName: Build an image
displayName: Build and run daemon tests
inputs:
command: build
dockerfile: '$(Build.SourcesDirectory)/Dockerfile.daemon_tests'