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