2019-11-15 11:03:15 +00:00
# Plugins
2021-09-17 20:08:13 +00:00
Plugins are pipeline steps that perform pre-defined tasks and are configured as steps in your pipeline. Plugins can be used to deploy code, publish artifacts, send notification, and more.
2023-03-14 02:42:53 +00:00
They are automatically pulled from the default container registry the agent's have configured.
2019-11-15 11:03:15 +00:00
Example pipeline using the Docker and Slack plugins:
```yaml
2023-06-07 10:04:37 +00:00
steps:
2019-11-15 11:03:15 +00:00
build:
image: golang
commands:
- go build
- go test
publish:
image: plugins/docker
2021-12-06 17:18:53 +00:00
settings:
repo: foo/bar
tags: latest
2019-11-15 11:03:15 +00:00
notify:
image: plugins/slack
2021-12-06 17:18:53 +00:00
settings:
channel: dev
2019-11-15 11:03:15 +00:00
```
## Plugin Isolation
2021-09-17 20:08:13 +00:00
Plugins are just pipeline steps. They share the build workspace, mounted as a volume, and therefore have access to your source tree.
2019-11-15 11:03:15 +00:00
2023-03-14 02:42:53 +00:00
## Finding Plugins
For official plugins, you can use the Woodpecker plugin index:
- [Official Woodpecker Plugins ](https://woodpecker-ci.org/plugins )
:::tip
There are also other plugin lists with additional plugins. Keep in mind that [Drone ](https://www.drone.io/ ) plugins are generally supported, but could need some adjustments and tweaking.
- [Drone Plugins ](http://plugins.drone.io )
2023-09-23 11:57:35 +00:00
- [Geeklab Woodpecker Plugins ](https://woodpecker-plugins.geekdocs.de/ )
2023-10-24 12:42:05 +00:00
2023-03-14 02:42:53 +00:00
:::