buildkite-plugins / docker-buildkite-plugin

🐳📦 Run any build step in a Docker container
MIT License
113 stars 106 forks source link

Support passing env-file #158

Closed evandam closed 2 years ago

evandam commented 4 years ago

It would be helpful to be able to pass --env-file to the docker-run command but I don't see a field for it in the plugin.

My alternative right now is to use the docker compose Buildkite plugin and set all of the env vars in my docker-compose.yml, but it's not ideal.

toote commented 2 years ago

Great idea! I have implemented it in PR #212