Update sample YAML in README [ci skip]
This commit is contained in:
parent
f2db48597e
commit
d221ed0b88
1 changed files with 21 additions and 16 deletions
37
.github/readme.md
vendored
37
.github/readme.md
vendored
|
@ -7,28 +7,33 @@ Drone is a Continuous Delivery system built on container technology. Drone uses
|
|||
Sample Pipeline Configuration:
|
||||
|
||||
```yaml
|
||||
pipeline:
|
||||
backend:
|
||||
image: golang
|
||||
commands:
|
||||
- go get
|
||||
- go build
|
||||
- go test
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
frontend:
|
||||
image: node:6
|
||||
commands:
|
||||
- npm install
|
||||
- npm test
|
||||
steps:
|
||||
- name: backend
|
||||
image: golang
|
||||
commands:
|
||||
- go get
|
||||
- go build
|
||||
- go test
|
||||
|
||||
publish:
|
||||
image: plugins/docker
|
||||
- name: frontend
|
||||
image: node:6
|
||||
commands:
|
||||
- npm install
|
||||
- npm test
|
||||
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: octocat/hello-world
|
||||
tags: [ 1, 1.1, latest ]
|
||||
registry: index.docker.io
|
||||
|
||||
notify:
|
||||
image: plugins/slack
|
||||
- name: notify
|
||||
image: plugins/slack
|
||||
settings:
|
||||
channel: developers
|
||||
username: drone
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue