summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorAnatoli Babenia <anatoli@rainforce.org>2019-09-11 07:56:41 +0300
committerAnatoli Babenia <anatoli@rainforce.org>2019-09-23 03:29:27 +0300
commit0bae5bad1b3caacca036c139e024480987e29ec0 (patch)
treed84dbf7ebcd4286eb840d380b3762afd9f1bcc92 /.cirrus.yml
parent9fc6abf2a80dd97f956463e44ea0ff5e3f0b15ae (diff)
downloadpodman-0bae5bad1b3caacca036c139e024480987e29ec0.tar.gz
podman-0bae5bad1b3caacca036c139e024480987e29ec0.tar.bz2
podman-0bae5bad1b3caacca036c139e024480987e29ec0.zip
Cirrus: Upload snap only on merges to master
Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index a65b41bfd..9228889a9 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -629,6 +629,9 @@ verify_test_built_images_task:
upload_snap_task:
+ # Only when PR or branch is merged into master
+ only_if: $CIRRUS_BRANCH == $DEST_BRANCH
+
depends_on:
- "test_building_snap"