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.

55 lines
1.2 KiB

# workspace:
# base: /workspace
# path: src/git.nixaid.com/arno/myapp/
#
# branches:
# - master
pipeline:
restore_cache:
image: drillster/drone-volume-cache:latest
restore: true
mount:
- /drone/docker
# volumes:
# - /tmp/drone-cache:/cache
publish:
image: plugins/docker:17.12
repo: andrey01/mps-youtube
tags:
- latest
- ${DRONE_COMMIT_SHA}
# group: docker
# dockerfile: Dockerfile
secrets:
- docker_username
- docker_password
storage_path: /drone/docker
use_cache: true
when:
event: [push, tag]
branch: master
rebuild_cache:
image: drillster/drone-volume-cache:latest
rebuild: true
mount:
- /drone/docker
# volumes:
# - /tmp/drone-cache:/cache
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]