Skip to main content

Drone pipeline



tip

When working with Drone pipelines, the best way to incorporate Datree is to use our official Drone plugin.

TO-DO list for setting-up Datree in your CI

CI config example

kind: pipeline
type: docker
name: default

platform:
os: linux
arch: arm64

steps:
- name: datree-policy-check
image: datree/drone-datree
settings:
token:
from_secret: datree_token
path: "someDirectory/someFile.yaml"

when:
event:
- push
- pull_request