buildkite-plugins / docker-buildkite-plugin

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

Add documentation for pull-retries #107

Closed lox closed 5 years ago

dhalperi commented 5 years ago

Dumb Q: I looked at #95 and didn't see this keyword being linked to the environment variable read here: https://github.com/buildkite-plugins/docker-buildkite-plugin/pull/95/files#diff-7a7c160f9b73cfeaf4d8b93aee769fc1R228

Is the set of keywords that exist automatically turned into buildkite envs based on name? (If so, that's genius!)

lox commented 5 years ago

@dhalperi yup, we expose config to plugins as env. pull-retries becomes BUILDKITE_PLUGIN_DOCKER_PULL_RETRIES. Check out https://buildkite.com/docs/pipelines/plugins#developing-a-plugin fora bit more context!