0
0
mirror of https://github.com/thegeeklab/github-releases-notifier.git synced 2024-11-21 12:40:38 +00:00

fix drone condition

This commit is contained in:
Robert Kaussow 2020-01-14 15:39:08 +01:00
parent 02e75e36cf
commit 96ee316168
2 changed files with 16 additions and 3 deletions

View File

@ -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'
]
}
}]

View File

@ -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
...