A template create with drone setting, name welcome.yml
kind: pipeline
type: docker
name: Welcome
steps:
- name: info
image: {{ .input.image }}
- name: script
image: ali/drone-script
settings:
target: info.sh
trigger:
branch:
- master
- develop
event:
- push
- custom
And .drone.yml
content
kind: template
load: welcome.yaml
data:
image: ali/drone-info
---
kind: pipeline
type: docker
name: Delivery
steps:
- name: html
image: ciemoo/node-12-alpine
commands:
- echo build html content
trigger:
event:
- tag
when push event, template works, when tag Delivery
part not work.