1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/docs/setup/plugins.md

22 lines
795 B
Markdown
Raw Normal View History

2015-07-07 06:13:50 +02:00
# Plugins
Plugins are Docker containers, executed during your build process. Plugins are downloaded automatically, on-demand as they are encountered in your `.drone.yml` file.
See the [plugin marketplace](http://addons.drone.io) for a full catalog of official plugins.
## Security
2015-10-08 02:17:15 +02:00
For security reasons you must whitelist plugins. The default whitelist includes the official Drone plugins hosted in the [Docker registry](https://registry.hub.docker.com/repos/plugins/). Customize your whitelist by setting the `PLUGIN_FILTER` environment variable. This is a space-separated list and includes glob matching capabilities.
2015-07-07 06:13:50 +02:00
2015-10-08 02:17:15 +02:00
Whitelist official Drone plugins
2015-07-07 06:13:50 +02:00
```
2015-10-08 02:17:15 +02:00
PLUGIN_FILTER=plugins/*
2015-07-07 06:13:50 +02:00
```
2015-10-08 02:17:15 +02:00
Whitelist official Drone plugins and registry user `octocat`
2015-07-07 06:13:50 +02:00
```
2015-10-08 02:17:15 +02:00
PLUGIN_FILTER=plugins/* octocat/*
2015-07-07 06:13:50 +02:00
```