mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
1.1 KiB
1.1 KiB
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.
Plugin examples include:
git
plugin to clone your repositorygh_pages
plugin to publish documentation to GitHub pagesslack
plugin to notify your Slack channel when a build completess3
plugin to push files or build artifacts to your S3 bucket
See the plugin marketplace for a full catalog of official plugins.
Security
For security reasons you must whitelist plugins. The default whitelist matches the official Drone plugins -- plugins/drone
hosted in the Docker registry.
You can customize your whitelist by setting the PLUGINS
environment variable. Note that you can use globbing to whitelist all Docker images with a defined prefix:
Example 1: whitelist official Drone plugins
PLUGINS=plugins/*
Example 2: whitelist plugins for registry user octocat
PLUGINS=octocat/*