add .drone.yml

This commit is contained in:
Andy 2018-07-04 11:14:41 +02:00
parent 26bb9d12b1
commit 2601f9ed01
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C

37
.drone.yml Normal file
View File

@ -0,0 +1,37 @@
# workspace:
# base: /workspace
# path: src/git.nixaid.com/arno/myapp/
# branches:
# - master
pipeline:
publish:
image: plugins/docker:17.12
auto_tag: true
auto_tag_suffix: linux-amd64
repo: andrey01/hipchat
# tags:
# - latest
# - 1
# - 1.1
# group: docker
# dockerfile: Dockerfile
secrets: [ docker_username, docker_password ]
when:
event: [push, tag]
branch: master
notify:
image: drillster/drone-email:latest
from: Drone CI <noreply@nixaid.com>
# from: drone-noreply@nixaid.com
host: mail.nixaid.com
port: 587
# username: arno
subject: NIXAID Drone Pipeline {{#success build.status}}SUCCESS{{else}}FAILURE{{/success}} Notification
# secrets: [ EMAIL_USERNAME, EMAIL_PASSWORD ]
# recipients: [ andrey.arapov@nixaid.com ]
when:
status: [success, failure] # changed
event: [push, tag]