Seems drone supports image based works only.
If it can support dockerfile based work it would be helpful.
below is example
pipeline:
dockerfile: Dockerfile.build
build-arg:
- GITHUB_USER=my_user
- GITHUB_TOKEN=my_token
commad:
- make