Skip to content

Instantly share code, notes, and snippets.

@maciekrb
Created February 24, 2016 20:00
Show Gist options
  • Save maciekrb/aa834633f80b71353a01 to your computer and use it in GitHub Desktop.
Save maciekrb/aa834633f80b71353a01 to your computer and use it in GitHub Desktop.
drone config file
clone:
recursive: true
submodule_override:
clandmark: https://bitbucket.org/company/clandmark.git
build:
image: docker:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- docker build -t b.gcr.io/company-images/detection-base .
publish:
gcr:
registry: b.gcr.io
repo: company-images/detection-base
tag: $$BRANCH
token: >
$$GOOGLE_KEY
notify:
email:
from: drone@company.com
host: smtp.mailgun.org
username: $$MAILGUN_USERNAME
password: $$MAILGUN_PASS
recipients:
- me@gmail.com
slack:
webhook_url: $$SLACK_WEBHOOK_URL
username: $$SLACK_USERNAME
channel: notifications
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment