Gitea and Forgejo plugin to assign packages repositories.
  • Go 63.6%
  • Shell 28.2%
  • Dockerfile 8.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
renovate-bot 4c16d118e6
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
maint: Update module code.thinkaboutit.tech/pandora/woodpecker-utils.gopack to v1.4.1 (#21)
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` | ![age](https://developer.mend.io/api/mc/badges/age/go/code.thinkaboutit.tech%2fpandora%2fwoodpecker-utils.gopack/v1.4.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/code.thinkaboutit.tech%2fpandora%2fwoodpecker-utils.gopack/v1.4.0/v1.4.1?slim=true) |

---

### 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 [#&#8203;10](https://github.com/pandora/woodpecker-utils.gopack/issues/10) by [@&#8203;renovate-bot](https://github.com/renovate-bot)

##### Repository

- Use central renovate.json ([#&#8203;8](https://github.com/pandora/woodpecker-utils.gopack/issues/8)) by [@&#8203;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
2026-08-02 14:56:06 +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 maint: Update gcr.io/distroless/static-debian13:nonroot Docker digest to 23795be #14 2026-07-14 15:29:01 +00:00
go.mod maint: Update module code.thinkaboutit.tech/pandora/woodpecker-utils.gopack to v1.4.1 (#21) 2026-08-02 14:56:06 +00:00
go.sum maint: Update module code.thinkaboutit.tech/pandora/woodpecker-utils.gopack to v1.4.1 (#21) 2026-08-02 14:56:06 +00:00
LICENSE add license 2026-04-11 13:49:40 +02:00
main.go fix: List package API did not filter for package type (#18) 2026-07-19 17:33:53 +00:00
README.md update README.md 2026-04-15 00:36:05 +02:00
renovate.json ci: Use central renovate.json (#16) 2026-07-19 11:41:51 +00: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