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