From 044bc2ad2dd4dcbd40ab06d7df6cfe710618f9bb Mon Sep 17 00:00:00 2001 From: gunnar Date: Fri, 12 Jun 2026 15:46:54 +0200 Subject: [PATCH] renovate action --- .gitea/workflows/renovate.yml | 26 ++++++++++++++++++++++++++ Containerfile.splitter | 16 ---------------- renovate.json | 18 ++++++++++++++++++ 3 files changed, 44 insertions(+), 16 deletions(-) create mode 100644 .gitea/workflows/renovate.yml delete mode 100644 Containerfile.splitter create mode 100644 renovate.json diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml new file mode 100644 index 0000000..a13cf43 --- /dev/null +++ b/.gitea/workflows/renovate.yml @@ -0,0 +1,26 @@ +name: Renovate Bot + +on: + schedule: + # Läuft jede Nacht um 03:00 Uhr + - cron: '0 3 * * *' + workflow_dispatch: # Ermöglicht den manuellen Start über die Gitea-Weboberfläche + +jobs: + renovate: + runs-on: ubuntu-latest # Dein Runner fängt das über das Label ab + steps: + - name: Checkout Repository + uses: actions/checkout@v6 + + - name: Run Renovate + uses: docker://renovate/renovate:43 + env: + RENOVATE_PLATFORM: 'gitea' + # Nutze hier deine DuckDNS-Adresse aus der Compose-Datei + RENOVATE_ENDPOINT: 'https://humocs-man.duckdns.org/api/v1' + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + # Sorgt dafür, dass Renovate nur Repos anfasst, die eine renovate.json haben + RENOVATE_REQUIRE_CONFIG: 'required' + # Sagt Renovate, welches Repository es explizit scannen soll + RENOVATE_REPOSITORIES: ${{ github.repository }} diff --git a/Containerfile.splitter b/Containerfile.splitter deleted file mode 100644 index e111fe8..0000000 --- a/Containerfile.splitter +++ /dev/null @@ -1,16 +0,0 @@ -# This file is used to split existing images using `buildah build`. See -# README.md for how to use it. - -ARG CHUNKAH=quay.io/coreos/chunkah:latest@sha256:352097f3d32186ac11082f8b74cd544678b00388b50c96ba5c8e79503a454fe3 -ARG CHUNKAH_ARGS="" -ARG CHUNKAH_CONFIG_STR - -FROM overridden AS target -FROM ${CHUNKAH} AS chunkah -ARG CHUNKAH_CONFIG_STR -ARG CHUNKAH_ARGS -RUN --mount=type=bind,target=/run/src,rw \ - --mount=from=target,target=/chunkah,ro \ - chunkah build ${CHUNKAH_ARGS} --output oci:/run/src/out - -FROM oci:out diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..81568e8 --- /dev/null +++ b/renovate.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "labels": ["dependencies"], + "packageRules": [ + { + "matchManagers": ["github-actions"], + "groupName": "Pipeline-Updates" + }, + { + "matchManagers": ["docker-compose"], + "matchPackageNames": ["gitea/act_runner", "containrrr/watchtower"], + "groupName": "Server-Infrastruktur" + } + ] +}