Pre-Commit hooks for validating Docker projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
565 B

---
kind: pipeline
name: test
workspace:
base: "/app"
path: "."
steps:
- name: test
image: iamthefij/drone-pre-commit:latest
commands:
- pip install docker-compose
- make all
- name: notify
image: drillster/drone-email
settings:
host:
from_secret: SMTP_HOST # pragma: whitelist secret
username:
from_secret: SMTP_USER # pragma: whitelist secret
password:
from_secret: SMTP_PASS # pragma: whitelist secret
from: drone@iamthefij.com
when:
status: [changed, failure]