add .drone.yml
This commit is contained in:
parent
26bb9d12b1
commit
2601f9ed01
37
.drone.yml
Normal file
37
.drone.yml
Normal 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]
|
Loading…
Reference in New Issue
Block a user