Skip to content

Instantly share code, notes, and snippets.

@airtonGit
Created May 16, 2020 18:34
Show Gist options
  • Save airtonGit/6d4c48d1adb20166950e614a0f6d7eb4 to your computer and use it in GitHub Desktop.
Save airtonGit/6d4c48d1adb20166950e614a0f6d7eb4 to your computer and use it in GitHub Desktop.
Exemplo de drone.io CI/CD pipeline
name: default
kind: pipeline
type: docker
steps:
- name: backend
image: golang
commands:
- go get
- go build
- go test
- 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
- name: notify
image: plugins/slack
settings:
channel: developers
username: drone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment