--- kind: pipeline type: docker name: docker-build steps: - name: greeting image: docker.shnee.net/shnee/dind:19.03 volumes: - name: dockersock path: /var/run commands: - sleep 5 # give docker enough time to start - make push-all - name: gotify image: fredix/drone-gotify settings: gotifytoken: from_secret: gotify-token gotifyendpoint: http://push.shnee.net gotifytitle: "{{repo.name}} - Pipeline Build {{build.number}}" gotifypriority: 5 message: > {{#success build.status}} build {{build.number}} succeeded on {{repo.name}}. Good job {{build.author}} {{build.link}} {{else}} build {{build.number}} failed on {{repo.name}}. Fix me please {{build.author}} {{build.link}} {{/success}} when: status: [ success, failure ] services: - name: docker image: docker.shnee.net/shnee/dind:19.03 privileged: true volumes: - name: dockersock path: /var/run volumes: - name: dockersock temp: {} image_pull_secrets: - dockerconfig