diff --git a/.drone.star b/.drone.star index 1abb64a..ca697e4 100644 --- a/.drone.star +++ b/.drone.star @@ -32,13 +32,14 @@ def printSecrets(env): } -def steps(name): +def steps(name, dependsOn): return { "kind": "pipeline", "name": name, "clone": { "disable": True, }, + "depends_on": dependsOn, "steps": [ printSecrets([ "local-docker-registry", @@ -58,7 +59,7 @@ def steps(name): def main(ctx): return [ - steps('first'), - steps('second'), + steps('first', []), + steps('second', ['first']), ] \ No newline at end of file