Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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>
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters