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
|
2022-02-07 23:25:36 +01:00
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
registry: registry.decapod.one
|
|
|
|
auto_tag: true
|
|
|
|
repo: registry.decapod.one/brethil/dotfiles
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
|
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:
|
|
|
|
- echo "[drone] Succesfully built brethil/dotfiles" | bretellofier
|