1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/www/docs/ci/woodpecker.md
John Olheiser 1e39e3ce79
docs: add woodpecker ci (#3516)
This PR adds [woodpecker](https://woodpecker-ci.org) to the CI docs.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2022-10-31 14:45:37 -03:00

25 lines
537 B
Markdown

# Woodpecker
By default, woodpecker only fetches tags on `tag` events. If you are not using a tag event, you will need to override the git plugin like so:
```yaml
clone:
git:
image: woodpeckerci/plugin-git
settings:
tags: true
```
Here is how to set up a basic release pipeline with [Woodpecker](https://woodpecker-ci.org) and [Gitea](https://gitea.io).
```yaml
pipeline:
release:
image: goreleaser/goreleaser
commands:
- goreleaser release
secrets: [ gitea_token ]
when:
event: tag
```