kind: pipeline name: exec steps: - name: build image: docker commands: - docker build --rm -t dagobert:latest . volumes: [ /var/run/docker.sock:/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 ]