1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 04:21:31 +01:00

ci: cleanup, add notify-on-failure

This commit is contained in:
bretello 2024-01-03 14:24:46 +01:00
parent 2805f13208
commit 94eb4cded8
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -10,11 +10,19 @@ steps:
repo: registry.decapod.one/brethil/dotfiles
registry: registry.decapod.one
auto_tag: true
dry_run: true
# output: type=oci,dest=${CI_REPO_OWNER}-hello.tar
notify:
image: registry.decapod.one/toolchain:latest
secrets: [bretellofier_token, bretellofier_recipients]
commands:
- echo "[drone] Succesfully built brethil/dotfiles" | bretellofier
- bretellofier "[woodpecker] ✅ Succesfully built ${CI_REPO}"
when:
- status: [success]
notify-on-failure:
image: registry.decapod.one/toolchain
secrets: [bretellofier_token, bretellofier_recipients]
when:
- status: [failure]
commands:
- bretellofier "[woodpecker] 💥 $CI_REPO CI failed"