You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# 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]
|