mirror of
https://github.com/harness/drone.git
synced 2025-09-04 19:37:44 +00:00
15 lines
245 B
Plaintext
15 lines
245 B
Plaintext
def main(ctx):
|
|
return {
|
|
"kind": "pipeline",
|
|
"name": "build",
|
|
"steps": [
|
|
{
|
|
"name": ctx.input.stepName,
|
|
"image": ctx.input.image,
|
|
"commands": [
|
|
ctx.input.commands
|
|
]
|
|
}
|
|
]
|
|
}
|