ci: migrate to woodpecker

fix-ci
bretello 2023-12-28 16:25:30 +01:00
parent 245eb034f4
commit d26f542874
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 7 additions and 18 deletions

View File

@ -1,17 +1,10 @@
kind: pipeline when:
name: default - event: push
branch: master
image_pull_secrets:
- docker_config_json
trigger:
branch:
- master
event:
- push
steps: steps:
- name: build docker image build:
name: build docker image
image: plugins/docker image: plugins/docker
settings: settings:
registry: registry.decapod.one registry: registry.decapod.one
@ -25,12 +18,8 @@ steps:
tags: tags:
- latest - latest
- name: notify notify:
image: registry.decapod.one/toolchain:latest image: registry.decapod.one/toolchain:latest
environment: secrets: [bretellofier_token, bretellofier_recipients]
BRETELLOFIER_TOKEN:
from_secret: bretellofier_token
BRETELLOFIER_RECIPIENTS:
from_secret: bretellofier_recipients
commands: commands:
- echo "[drone] Succesfully built brethil/dotfiles" | bretellofier - echo "[drone] Succesfully built brethil/dotfiles" | bretellofier