mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-16 08:41:31 +01:00
37 lines
812 B
YAML
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
|