Gitea and Forgejo plugin to assign packages repositories.
- Lua 91.7%
- Dockerfile 8.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
ci/woodpecker/push/change_log Pipeline was 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
ci/woodpecker/cron/release Pipeline was successful
Merged automatically |
||
| lua | ||
| .gitignore | ||
| .markdownlint.json | ||
| .prettierrc | ||
| .test.env | ||
| Containerfile | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
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 |
|---|---|---|
| mode | repo | It can be 'repo' or 'file' |
| package_name | CI_REPO_NAME | Name of package |
| package_type | Type of the package | |
| forgejo_token | Access token for Forgejo |
Mode repo
No additional settings.
Mode file
| Name | Default value | Description |
|---|---|---|
| filename | image_list | File tht plugin read |