#Drone CI

Container-native CI/CD platform.


#Configuration

yaml
1# .drone.yml
2kind: pipeline
3type: docker
4name: default
5
6steps:
7  - name: test
8    image: node:20
9    commands:
10      - npm ci
11      - npm test
12
13  - name: build
14    image: node:20
15    commands:
16      - npm run build
17
18  - name: docker
19    image: plugins/docker
20    settings:
21      repo: user/myapp
22      username:
23        from_secret: docker_username
24      password:
25        from_secret: docker_password
26    when:
27      branch:
28        - main

#Features

FeatureDescription
Container-nativeEach step in container
PluginsExtensible via plugins
KubernetesK8s runner support
GitOpsConfig in repo

[!TIP] Pro Tip: Excellent for container-centric workflows!