From 96ee3161686f41de5a7e457d690774cfef1e7faa Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 14 Jan 2020 15:39:08 +0100 Subject: [PATCH] fix drone condition --- .drone.star | 10 +++++++++- .drone.yml | 9 +++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.drone.star b/.drone.star index c1b428c..1ede03f 100644 --- a/.drone.star +++ b/.drone.star @@ -198,6 +198,11 @@ def notification(): 'spec': 'docker/manifest.tmpl', 'ignore_missing': 'true', }, + 'when' : { + 'status': [ + 'success', + ] + }, }, { 'name': 'microbadger', @@ -210,7 +215,6 @@ def notification(): 'when' : { 'status': [ 'success', - 'failure' ] }, }, @@ -221,5 +225,9 @@ def notification(): 'refs/heads/master', 'refs/tags/**' ], + 'status': [ + 'success', + 'failure' + ] } }] diff --git a/.drone.yml b/.drone.yml index 285bc32..f0742bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -285,6 +285,9 @@ steps: spec: docker/manifest.tmpl username: from_secret: docker_username + when: + status: + - success - name: microbadger image: xoxys/github-releases-notifier @@ -294,12 +297,14 @@ steps: when: status: - success - - failure trigger: ref: - refs/heads/master - refs/tags/** + status: + - success + - failure depends_on: - build-container-amd64 @@ -308,6 +313,6 @@ depends_on: --- kind: signature -hmac: 8ec9a1f75b74bdacdf65eb5df4cc72aa22c57641ee9efb8186a8310c2459d4d2 +hmac: 8c65eff50af8574d8623946b9337b1befe6abc179d13bfcea2ea97deab2e84f6 ...