2022-05-04 20:27:13 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
2022-05-04 20:44:19 +00:00
|
|
|
- name: build-and-deploy
|
2022-05-04 20:40:01 +00:00
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: bunix42/pre-commit
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
tags:
|
|
|
|
- latest
|
2022-05-04 20:27:13 +00:00
|
|
|
|
2022-05-04 20:40:01 +00:00
|
|
|
- name: slack
|
|
|
|
image: plugins/slack
|
|
|
|
settings:
|
|
|
|
webhook:
|
|
|
|
from_secret: slack_webhook
|
|
|
|
channel: drone
|
|
|
|
username: drone
|
2022-05-04 20:27:13 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
2022-05-04 20:44:19 +00:00
|
|
|
- main
|
2022-05-04 20:27:13 +00:00
|
|
|
event:
|
2022-05-04 20:40:01 +00:00
|
|
|
- push
|