2023-12-28 16:25:30 +01:00
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
branch: master
|
2022-02-07 23:25:36 +01:00
|
|
|
|
|
|
|
steps:
|
2023-12-28 16:25:30 +01:00
|
|
|
build:
|
|
|
|
name: build docker image
|
2023-12-28 17:31:26 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2022-02-07 23:25:36 +01:00
|
|
|
settings:
|
2023-12-28 17:31:26 +01:00
|
|
|
repo: registry.decapod.one/brethil/dotfiles
|
2022-02-07 23:25:36 +01:00
|
|
|
registry: registry.decapod.one
|
|
|
|
auto_tag: true
|
|
|
|
|
2023-12-28 16:25:30 +01:00
|
|
|
notify:
|
2022-02-07 23:25:36 +01:00
|
|
|
image: registry.decapod.one/toolchain:latest
|
2023-12-28 16:25:30 +01:00
|
|
|
secrets: [bretellofier_token, bretellofier_recipients]
|
2022-02-07 23:25:36 +01:00
|
|
|
commands:
|
2024-01-03 14:24:46 +01:00
|
|
|
- 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"
|