wp-gitea-release
Woodpecker CI plugin to publish files and artifacts to Gitea releases.
Only tag events are supported by this plugin. Running the plugin on other events will result in an error.
steps:
- name: publish
image: quay.io/thegeeklab/wp-gitea-release
settings:
api_key: randomstring
base_url: https://gitea.rknet.org
files: build/*
-
Api key to access Gitea API.Default: none
-
URL of the Gitea instance.Default: none
-
Generate specific checksums.Default: none
-
Create a draft release.Default: false
-
What to do if file already exist.Default: overwrite
-
List of files to upload.Default: none
-
Skip SSL verification.
Activating this option is insecure and should be avoided in most cases.
Default: false -
Plugin log level.Default: info
-
File or string with notes for the release.Default: none
-
Set the release as prerelease.Default: false
-
File or string for the title shown in the Gitea release.Default: $CI_COMMIT_TAG
Build the binary with the following command:
make build
Build the container image with the following command:
docker build --file Containerfile.multiarch --tag thegeeklab/wp-gitea-release .
docker run --rm \
-e PLUGIN_BASE_URL=https://try.gitea.io \
-e PLUGIN_API_KEY=randomstring \
-e PLUGIN_FILES=build/* \
-e CI_REPO_OWNER=gitea \
-e CI_REPO_NAME=test \
-e CI_PIPELINE_EVENT=tag \
-v $(pwd):/build:z \
-w /build \
thegeeklab/wp-gitea-release