mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
1e39e3ce79
This PR adds [woodpecker](https://woodpecker-ci.org) to the CI docs. Signed-off-by: jolheiser <john.olheiser@gmail.com>
25 lines
537 B
Markdown
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
|
|
```
|