renovate action
This commit is contained in:
@@ -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 }}
|
||||||
@@ -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
|
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user