1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +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

537 B

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:

clone:
  git:
    image: woodpeckerci/plugin-git
    settings:
      tags: true

Here is how to set up a basic release pipeline with Woodpecker and Gitea.

pipeline:
  release:
    image: goreleaser/goreleaser
    commands:
      - goreleaser release
    secrets: [ gitea_token ]
    when:
      event: tag