From 4f11cbb706640fb459df9f3d7a737ea2a5b81e73 Mon Sep 17 00:00:00 2001 From: scragly <29337040+scragly@users.noreply.github.com> Date: Mon, 23 Sep 2019 22:19:22 +1000 Subject: Add docker build condition for CI. --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1adbd12ea..de454e5c4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -50,6 +50,7 @@ jobs: - job: build displayName: 'Build & Push Container' dependsOn: 'test' + condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) steps: - task: Docker@2 -- cgit v1.2.3