mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-21 09:24:55 +01: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:
gitplugin to clone your repositorygh_pagesplugin to publish documentation to GitHub pagesslackplugin to notify your Slack channel when a build completess3plugin 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/*