From d221ed0b88936e56745ced77d4c0a4492daa0f15 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sat, 31 Aug 2019 08:36:38 -0700 Subject: [PATCH] Update sample YAML in README [ci skip] --- .github/readme.md | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/.github/readme.md b/.github/readme.md index ef79ba5c3..9f6065a5f 100644 --- a/.github/readme.md +++ b/.github/readme.md @@ -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 ```