{ "platform": {}, "steps": [ { "id": "random", "environment": {}, "image": "drone/git:1", "labels": {}, "name": "clone", "run_policy": "always", "volumes": [ { "name": "_workspace", "path": "/drone/src" } ], "working_dir": "/drone/src" }, { "id": "random", "args": [ "echo \"$DRONE_SCRIPT\" | /bin/sh" ], "depends_on": [ "clone" ], "entrypoint": [ "/bin/sh", "-c" ], "environment": {}, "labels": {}, "name": "build", "image": "docker.io/library/golang:latest", "volumes": [ { "name": "_workspace", "path": "/drone/src" } ], "working_dir": "/drone/src" }, { "id": "random", "args": [ "echo \"$DRONE_SCRIPT\" | /bin/sh" ], "depends_on": [ "build" ], "entrypoint": [ "/bin/sh", "-c" ], "environment": {}, "labels": {}, "name": "test", "image": "docker.io/library/golang:latest", "volumes": [ { "name": "_workspace", "path": "/drone/src" } ], "working_dir": "/drone/src" } ], "volumes": [ { "temp": { "id": "random", "name": "_workspace", "labels": {} } } ], "network": { "id": "random", "labels": {} } }