Skip to content

Latest commit

 

History

History
executable file
·
35 lines (26 loc) · 1.37 KB

README.md

File metadata and controls

executable file
·
35 lines (26 loc) · 1.37 KB

drone-rancher

Build Status Join the chat at https://gitter.im/drone/drone Go Doc Go Report

Drone plugin to deploy or update a project on Rancher. For the usage information and a listing of the available options please take a look at the docs.

Binary

Build the binary using drone cli:

drone exec

Example

Usage

Build and deploy from your current working directory:

docker run --rm                          \
  -e PLUGIN_URL=<source>                 \
  -e PLUGIN_ACCESS_KEY=<key>     \
  -e PLUGIN_SECRET_KEY=<secret>  \
  -e PLUGIN_SERVICE=<service>            \  
  -e PLUGIN_DOCKER_IMAGE=<image>         \
  -v $(pwd):$(pwd)                       \
  -w $(pwd)                              \
  peloton/drone-rancher