diff --git a/.drone.yml b/.woodpecker.yml similarity index 59% rename from .drone.yml rename to .woodpecker.yml index 7b0b259..0a8023f 100644 --- a/.drone.yml +++ b/.woodpecker.yml @@ -1,17 +1,10 @@ -kind: pipeline -name: default - -image_pull_secrets: - - docker_config_json - -trigger: - branch: - - master - event: - - push +when: + - event: push + branch: master steps: - - name: build docker image + build: + name: build docker image image: plugins/docker settings: registry: registry.decapod.one @@ -25,12 +18,8 @@ steps: tags: - latest - - name: notify + notify: image: registry.decapod.one/toolchain:latest - environment: - BRETELLOFIER_TOKEN: - from_secret: bretellofier_token - BRETELLOFIER_RECIPIENTS: - from_secret: bretellofier_recipients + secrets: [bretellofier_token, bretellofier_recipients] commands: - echo "[drone] Succesfully built brethil/dotfiles" | bretellofier