Skip to content

Commit

Permalink
[CI] Improve docker ci for other PRs (#4051)
Browse files Browse the repository at this point in the history
* Adding self to trigger a build in the future

* Push only on PCL/master
  • Loading branch information
kunaltyagi committed May 6, 2020
1 parent db1bff5 commit b696219
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .ci/azure-pipelines/env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ trigger:
paths:
include:
- .dev/docker/env/Dockerfile
- .ci/azure-pipelines/env.yml

pr:
paths:
include:
- .dev/docker/env/Dockerfile
- .ci/azure-pipelines/env.yml

schedules:
- cron: "0 0 * * 0"
Expand Down Expand Up @@ -53,6 +55,7 @@ jobs:
CUDA_VERSION: 11
UBUNTU_DISTRO: 20.04
VTK_VERSION: 7
# nvidia-cuda docker image has not been released for 20.04 yet
USE_CUDA: ""
tag: 20.04
steps:
Expand Down Expand Up @@ -87,4 +90,5 @@ jobs:
containerRegistry: $(dockerHub)
repository: $(dockerHubID)/env
tags: "$(tag)"
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
condition: and(eq(variables['Build.Repository.Name'], 'PointCloudLibrary/pcl'),
eq(variables['Build.SourceBranch'], 'refs/heads/master'))

0 comments on commit b696219

Please sign in to comment.