kind: pipeline type: docker name: default steps: - name: build-and-push image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password repo: git.tunpok.com/ching/python-env registry: git.tunpok.com tags: latest - name: nofity image: plugins/webhook settings: urls: http://bark.tunpok.com/UZ6zC82bKRjQaXiVkosVWh/ content_type: application/json template: | { "title": "Drone Build #{{ build.number }} {{ build.status }}", "body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nMessage: {{ trim build.message }}" "group": "drone", "url": "{{ build.link }}", "icon": "https://static-00.iconduck.com/assets.00/drone-icon-2048x2048-6zua2vkz.png" } volumes: - name: dockersock host: path: /var/run/docker.sock