30 lines
462 B
Plaintext
30 lines
462 B
Plaintext
[
|
|
{
|
|
name: 'test pipe',
|
|
kind: 'pipeline',
|
|
type: 'docker',
|
|
trigger: {
|
|
branch: ['this'],
|
|
event: ['tag'],
|
|
},
|
|
clone: {
|
|
disable: false,
|
|
depth: 0,
|
|
},
|
|
steps: [
|
|
{
|
|
name: 'step',
|
|
image: 'alpine',
|
|
when: {
|
|
event: ['tag'],
|
|
},
|
|
commands: [
|
|
'echo hello',
|
|
'echo $${DRONE_COMMIT}',
|
|
'echo $${DRONE_TAG}',
|
|
],
|
|
},
|
|
|
|
],
|
|
}
|
|
] |