Build runs on server instead of agent

Drone has two installation modes; single-machine mode (server also runs builds) and multi-machine mode (agents runs builds). The behavior you described happens when you setup Drone in single-machine mode, which happens when you forget to set DRONE_AGENTS_ENABLED=true. The official documentation [1] demonstrates how to properly configure Drone in multi-machine mode.

[1] https://docs.drone.io/server/provider/github/

1 Like