diff --git a/.drone.jsonnet b/.drone.jsonnet
index 18f0353..bebad14 100644
--- a/.drone.jsonnet
+++ b/.drone.jsonnet
@@ -340,6 +340,9 @@ local PipelineNotifications = {
password: { from_secret: 'docker_password' },
spec: 'docker/manifest.tmpl',
},
+ when: {
+ status: ['success'],
+ },
},
{
image: 'plugins/manifest',
@@ -351,6 +354,9 @@ local PipelineNotifications = {
password: { from_secret: 'quay_password' },
spec: 'docker/manifest-quay.tmpl',
},
+ when: {
+ status: ['success'],
+ },
},
{
name: 'pushrm-dockerhub',
@@ -396,6 +402,9 @@ local PipelineNotifications = {
username: { from_secret: 'matrix_username' },
password: { from_secret: 'matrix_password' },
},
+ when: {
+ status: ['success', 'failure'],
+ },
},
],
depends_on: [
diff --git a/.drone.yml b/.drone.yml
index ae1e2a5..172aa4d 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -481,6 +481,9 @@ steps:
spec: docker/manifest.tmpl
username:
from_secret: docker_username
+ when:
+ status:
+ - success
- name: manifest-quay
image: plugins/manifest
@@ -492,6 +495,9 @@ steps:
spec: docker/manifest-quay.tmpl
username:
from_secret: quay_username
+ when:
+ status:
+ - success
- name: pushrm-dockerhub
pull: always
@@ -532,6 +538,10 @@ steps:
template: "Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}"
username:
from_secret: matrix_username
+ when:
+ status:
+ - success
+ - failure
trigger:
ref:
@@ -546,6 +556,6 @@ depends_on:
---
kind: signature
-hmac: 5db60cc32b8f71807d98da64e9545392e4b5bb171a64315190b080fedd855138
+hmac: 73b23f5d961d3e6c17837449c948e9c367ca1283ae709786538cd99ab41a99a5
...