31
submitted 2 days ago by opennomad@lemmy.ml to c/selfhost@lemmy.ml

I'm quite happy with my #forgejo replacement for #github. i was missing dependabot enforced correctness and installed a Renovate container. IMO it's an improvement over the github approach. love it.

#SelfHosting #DigitalSovereignty #Homelab #OwnYourData

https://github.com/renovatebot/renovate

you are viewing a single comment's thread
view the rest of the comments
[-] UntouchedWagons@lemmy.ca 3 points 1 day ago

So I haven't tested this specific example (but it should work):

"packageRules": [
    {
      "matchDatasources": ["docker"],
      "matchPackageNames": ["ghcr.io/netbootxyz/netbootxyz"],
      "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-nbxyz(?<build>\\d+)$"
    }
  ]

Netboot.xyz has its docker images tagged in a non-standard way necessitating a custom package rule so that renovate bot can properly pick up updates. I thought this went into the config.js that renovate bot uses for its own configuration but no it goes in your repo's renovate.json file like so:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:recommended"
  ],
  "packageRules": [
    {
      "matchDatasources": ["docker"],
      "matchPackageNames": ["ghcr.io/netbootxyz/netbootxyz"],
      "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-nbxyz(?<build>\\d+)$"
    }
  ],
  "assignees": [
    "UntouchedWagons"
  ],
  "reviewers": [
    "UntouchedWagons"
  ]
}

@UntouchedWagons @opennomad yes I do that makes my repos updated in GitHub. I uses ‪https://kubeara.dev/‬ for the renovate config/deployment and make my stufff easy to control everything from one dashboard to.

this post was submitted on 04 Jul 2026
31 points (100.0% liked)

Self Hosted - Self-hosting your services.

20179 readers
5 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Cross-posting

If you see a rule-breaker please DM the mods!

founded 5 years ago
MODERATORS