1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +01:00
dotfiles/.drone.yml
2022-02-07 23:44:19 +01:00

37 lines
812 B
YAML

kind: pipeline
name: default
image_pull_secrets:
- docker_config_json
trigger:
branch:
- master
event:
- push
steps:
- name: build docker image
image: plugins/docker
settings:
registry: registry.decapod.one
username:
from_secret: registry.decapod.one-user
password:
from_secret: registry.decapod.one-password
auto_tag: true
repo: registry.decapod.one/brethil/dotfiles
dockerfile: Dockerfile
tags:
- latest
- name: notify
image: registry.decapod.one/toolchain:latest
environment:
BRETELLOFIER_TOKEN:
from_secret: bretellofier_token
BRETELLOFIER_RECIPIENTS:
from_secret: bretellofier_recipients
commands:
- echo "[drone] Succesfully built brethil/dotfiles" | bretellofier