update .drone.yml
All checks were successful
the build was successful

This commit is contained in:
Andy 2018-07-06 19:33:08 +02:00
parent 9f2b637cd8
commit bf8b21dc07
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C

View File

@ -6,31 +6,54 @@
# - master # - master
pipeline: pipeline:
restore_cache:
image: drillster/drone-volume-cache:latest
restore: true
mount:
- /drone/docker
# Set the ``DRONE_VOLUME=/tmp/drone-cache:/cache`` drone-server variable,
# so you can benefit from the caching.
# Otherwise you will have to make this repository trusted in Drone and use
# the volumes as follows.
# volumes:
# - /tmp/drone-cache:/cache
publish: publish:
image: plugins/docker:17.12 image: plugins/docker:17.12
auto_tag: true repo: andrey01/${DRONE_REPO_NAME}
auto_tag_suffix: linux-amd64 tags:
repo: andrey01/hipchat - latest
# tags: - ${DRONE_COMMIT_SHA:0:7}
# - latest
# - 1
# - 1.1
# group: docker # group: docker
# dockerfile: Dockerfile # dockerfile: Dockerfile
secrets: [ docker_username, docker_password ] secrets: [docker_username, docker_password]
# Since we restore the docker image cache to /drone/docker
storage_path: /drone/docker
use_cache: true
when: when:
event: [push, tag] event: [push, tag]
branch: master branch: master
rebuild_cache:
image: drillster/drone-volume-cache:latest
rebuild: true
mount:
- /drone/docker
# Set the ``DRONE_VOLUME=/tmp/drone-cache:/cache`` drone-server variable,
# so you can benefit from the caching.
# Otherwise you will have to make this repository trusted in Drone and use
# the volumes as follows.
# volumes:
# - /tmp/drone-cache:/cache
notify: notify:
image: drillster/drone-email:latest image: drillster/drone-email:latest
from: Drone CI <noreply@nixaid.com> from: Drone CI <noreply@nixaid.com>
# from: drone-noreply@nixaid.com subject: NIXAID Drone Pipeline {{#success build.status}}SUCCESS{{else}}FAILURE{{/success}} Notification
host: mail.nixaid.com host: mail.nixaid.com
port: 587 port: 587
# username: arno # username: arno
subject: NIXAID Drone Pipeline {{#success build.status}}SUCCESS{{else}}FAILURE{{/success}} Notification # secrets: [ email_username, email_password ]
# secrets: [ EMAIL_USERNAME, EMAIL_PASSWORD ]
# recipients: [ andrey.arapov@nixaid.com ] # recipients: [ andrey.arapov@nixaid.com ]
when: when:
status: [success, failure] # changed status: [success, failure] # changed