32 lines
488 B
YAML
32 lines
488 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
|
|
- name: build-and-deploy
|
|
image: plugins/docker
|
|
settings:
|
|
repo: bunix42/pre-commit
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
tags:
|
|
- latest
|
|
|
|
- name: slack
|
|
image: plugins/slack
|
|
settings:
|
|
webhook:
|
|
from_secret: slack_webhook
|
|
channel: drone
|
|
username: drone
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|