diff options
author | 2019-05-13 02:47:56 -0700 | |
---|---|---|
committer | 2019-05-13 02:47:56 -0700 | |
commit | 9909e9d1444a06e6aea4d031ac9de519918fb900 (patch) | |
tree | 5cf2b45242f9fc87e002c475a853a47e0b0ffda7 | |
parent | Disable pip cache (diff) |
Never build the final image in a PR
-rw-r--r-- | azure-pipelines.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 49f62f1..164e11d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -100,6 +100,7 @@ jobs: - script: docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile . displayName: 'Build Final Image' + condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) - script: docker push pythondiscord/snekbox-base:latest displayName: 'Push Base Image to Dockerhub' |