gitea-package/docs.md
OCram85 cbd124be0a
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/test-image Pipeline was successful
add plugin docs
2024-05-14 11:11:50 +02:00

1.9 KiB

name icon description author tags containerImage containerImageUrl url
Gitea Generic Package https://raw.githubusercontent.com/go-gitea/gitea/main/assets/logo.svg Plugin to Publish Artifacts to Gitea Generic Package Registry. OCram85
Gitea
publish-package
container
build
ocram85/plugin-gitea-package https://hub.docker.com/r/ocram85/plugin-gitea-package https://codeberg.org/woodpecker-plugins/docker-buildx

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}