Skip to main content
Plugins / Gitea Generic Package

Gitea Generic Package

by OCram85
Website
Giteapublish-packagecontainerbuild

Plugin to Publish Artifacts to Gitea Generic Package Registry.


Overview

Woodpecker CI plugin to upload any file to the Gitea Generic Package Registry.

For details about the features and limits of the Generic Package Registry their docs.

Settings

Settings Name Default Description
user none Gitea user for basic auth
password none Password for basic auth
debug none Enables debug output if it's set to true.
owner none Package owner
package_name none The package name
package_version none Package version
file_source none File source path for upload.
file_name none Package file name
update false Allow update existing package files

Examples

when:
  - event: [pull_request, tag, cron]
  - event: push
    branch:
      - ${CI_REPO_DEFAULT_BRANCH}

depends_on:
  - "ci"

steps:
  next:
    image: ocram85/plugin-gitea-package:latest
    pull: true
    secrets: [ gitea_user, gitea_passwd]
    settings:
      user:
        from_secret: gitea_user
      password:
        from_secret: gitea_passwd
      debug: "true"
      owner: "plugins"
      package_name: "dummy_package"
      package_version: "0.1.0"
      file_source: "./README.md"
      file_name: "readme.md"
      update: "true"
    when:
      event: pull_request
      branch: ${CI_REPO_DEFAULT_BRANCH}