mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-10 14:01:30 +01:00
add drone CI
This commit is contained in:
parent
89c73f3adf
commit
f73659aa45
36
.drone.yml
Normal file
36
.drone.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user