Plugins are docker containers that encapsulate commands, and can be shared and re-used in your pipeline. Use plugins to build and publish artifacts, send notifications, and more.
Example Slack plugin:
|
|
As you can see plugins are just Docker containers. Anyone can encapsulate logic, bundle as a Docker image, and publish to a Docker registry to share with their organization, or with the broader community.
The Drone community owns the "plugins" namespace in Dockerhub. Plugins in this namespace are collectively maintained by the Drone community.
Secrets
Drone provides the ability to source any configuration parameter from a named secret using the from_secret
syntax.
Example Slack plugin using secrets:
|
|
Example NPM plugin using secrets:
|
|
Registry
The community maintains a public registry of Open Source plugins. You can browse the plugin registry at plugins.drone.io.