Gitea and Forgejo plugin to assign packages repositories.
  • Go 63.5%
  • Shell 28.3%
  • Dockerfile 8.2%
Find a file
renovate-bot cde03d9b36
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful
ci/woodpecker/cron/vulnerability Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful
ci/woodpecker/cron/auto_merge Pipeline was successful
Update module code.thinkaboutit.tech/pandora/woodpecker-utils.gopack to v1.2.0 #9
Merged automatically
2026-04-18 07:12:41 +00:00
.gitignore add file_list option 2026-04-15 00:17:46 +02:00
.goreleaser.yaml fiy arch typo and remove unrelevant options fro goreleaser 2026-03-01 23:25:42 +01:00
.markdownlint.json Initial commit 2026-03-01 10:02:03 +01:00
.prettierrc Initial commit 2026-03-01 10:02:03 +01:00
.test.env add file_list option 2026-04-15 00:17:46 +02:00
Containerfile point to forgejo url 2026-03-23 19:05:03 +01:00
go.mod Update module code.thinkaboutit.tech/pandora/woodpecker-utils.gopack to v1.2.0 #9 2026-04-18 07:12:41 +00:00
go.sum Update module code.thinkaboutit.tech/pandora/woodpecker-utils.gopack to v1.2.0 #9 2026-04-18 07:12:41 +00:00
LICENSE add license 2026-04-11 13:49:40 +02:00
main.go add file_list option 2026-04-15 00:17:46 +02:00
README.md update README.md 2026-04-15 00:36:05 +02:00
renovate.json remove woodpecker jobs, renovate open one PR 2026-04-11 00:29:06 +02:00
test.sh point to forgejo url 2026-03-23 19:05:03 +01:00

Woodpecker plugin to assign package to repository

This repository assign package to repository. If the package is already assigned to a different one, first it unlink the repository.

In case of mode: file it reads content of a file where each line is a container, then assign those to the repository.

Usage

It can be used at any event.

steps:
  - name: Assign package to repository
    image: code.thinkaboutit.tech/pandora/assign-package.woodpecker
    settings:
      package_type: container
      token:
        from_secret: ci-token
      debug: true

The token needs write:package scope.

Settings

Base settings

Name Default value Description
owner CI_REPO_OWNER Owner of package and repository
repo_name CI_REPO_NAME Name of repository
package_name CI_REPO_NAME Name of package
package_type Type of the package
forgejo_token Access token for Forgejo
forgejo_url CI_FORGE_URL Address of Forgejo
mode repo It can be 'repo' or 'file'

Mode repo

No additional settings.

Mode file

Name Default value Description
filename image_list File tht plugin read