1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 04:21:31 +01:00

add drone CI

This commit is contained in:
bretello 2022-02-07 23:25:36 +01:00
parent 89c73f3adf
commit f73659aa45
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

36
.drone.yml Normal file
View File

@ -0,0 +1,36 @@
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