kind: pipeline name: default steps: - name: build image: docker commands: - docker build --rm -t dagobert:latest . volumes: - name: docker_socket path: /var/run/docker.sock - name: notify image: drillster/drone-email settings: host: smtp port: 25 skip_verify: true from: drone@chrz.de when: status: [ success, failure ]