Gitea and Forgejo plugin to assign packages repositories.
- Go 63.6%
- Shell 28.2%
- Dockerfile 8.2%
| 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/auto_merge Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [code.thinkaboutit.tech/pandora/woodpecker-utils.gopack](https://code.thinkaboutit.tech/pandora/woodpecker-utils.gopack) | `v1.4.0` → `v1.4.1` |  |  | --- ### Release Notes <details> <summary>pandora/woodpecker-utils.gopack (code.thinkaboutit.tech/pandora/woodpecker-utils.gopack)</summary> ### [`v1.4.1`](https://code.thinkaboutit.tech/pandora/woodpecker-utils.gopack/releases/tag/v1.4.1): release [Compare Source](https://code.thinkaboutit.tech/pandora/woodpecker-utils.gopack/compare/v1.4.0...v1.4.1) #### What's new ##### Maintenance - Update go module directive to v1.26.5 [#​10](https://github.com/pandora/woodpecker-utils.gopack/issues/10) by [@​renovate-bot](https://github.com/renovate-bot) ##### Repository - Use central renovate.json ([#​8](https://github.com/pandora/woodpecker-utils.gopack/issues/8)) by [@​onlyati](https://github.com/onlyati) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42LjAiLCJ1cGRhdGVkSW5WZXIiOiI0NC42LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> Reviewed-on: #21 |
||
| .gitignore | ||
| .goreleaser.yaml | ||
| .markdownlint.json | ||
| .prettierrc | ||
| .test.env | ||
| Containerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
| renovate.json | ||
| test.sh | ||
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 |