Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a3014c1b32 | |||
| f576dc6f1f | |||
| e7dcdba8aa | |||
| bd6c6cf4b2 | |||
|
1a8b065283
|
|||
| 7dacdccc01 | |||
|
8a34988dd4
|
|||
| 6e5004aa0e | |||
| 745075f38c |
@@ -46,7 +46,7 @@ steps:
|
||||
- bao kv get -mount secret -field GITHUB_COM_TOKEN renovate > /woodpecker/github_com_token
|
||||
- name: renovate
|
||||
# Renovate's built-in "woodpecker" manager tracks this image automatically.
|
||||
image: renovate/renovate:43.205.3
|
||||
image: renovate/renovate:43.207.4
|
||||
environment:
|
||||
# --- platform / target ---
|
||||
RENOVATE_PLATFORM: gitea
|
||||
|
||||
+3
-3
@@ -21,8 +21,8 @@
|
||||
# =============================================================================
|
||||
FROM --platform=$BUILDPLATFORM golang:1.26.3-alpine@sha256:91eda9776261207ea25fd06b5b7fed8d397dd2c0a283e77f2ab6e91bfa71079d AS builder
|
||||
|
||||
# renovate: datasource=github-releases depName=tailscale packageName=tailscale/tailscale
|
||||
ARG TAILSCALE_VERSION=v1.98.3
|
||||
# renovate: datasource=github-releases depName=tailscale packageName=tailscale/tailscale versioning=semver
|
||||
ARG TAILSCALE_VERSION=v1.98.5
|
||||
|
||||
# Provided automatically by buildx for the target platform.
|
||||
ARG TARGETOS
|
||||
@@ -199,7 +199,7 @@ RUN printf '%s\n' \
|
||||
FROM alpine:3.23.4@sha256:5b10f432ef3da1b8d4c7eb6c487f2f5a8f096bc91145e68878dd4a5019afde11 AS busybox
|
||||
|
||||
# renovate: datasource=docker depName=busybox versioning=docker
|
||||
ARG BUSYBOX_VERSION=1.37.0
|
||||
ARG BUSYBOX_VERSION=1.38.0
|
||||
|
||||
RUN apk add --no-cache build-base linux-headers wget bzip2 perl upx
|
||||
|
||||
|
||||
+22
-5
@@ -7,6 +7,17 @@
|
||||
],
|
||||
"labels": ["dependencies"],
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Update version ARGs annotated with a `# renovate:` comment (the dockerfile manager only handles FROM/image lines, not ARG values).",
|
||||
"managerFilePatterns": ["/(^|/)Dockerfile$/"],
|
||||
"matchStrings": [
|
||||
"#\\s*renovate:\\s*datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)(?:\\s+packageName=(?<packageName>\\S+))?(?:\\s+versioning=(?<versioning>\\S+))?\\s+ARG \\w+=(?<currentValue>\\S+)"
|
||||
],
|
||||
"matchStringsStrategy": "any"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchManagers": ["dockerfile"],
|
||||
@@ -16,9 +27,8 @@
|
||||
{
|
||||
"matchDatasources": ["github-releases"],
|
||||
"matchPackageNames": ["tailscale/tailscale"],
|
||||
"description": "TAILSCALE_VERSION ARG: only stable releases. Tailscale uses EVEN minor versions for stable (v1.98.x); ODD minors (v1.99.x) are unstable, so filter to even minors and ignore pre-releases.",
|
||||
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+)$",
|
||||
"allowedVersions": "/^\\d+\\.\\d*[02468]\\.\\d+$/",
|
||||
"description": "TAILSCALE_VERSION ARG: only stable releases. Tailscale uses EVEN minor versions for stable (v1.98.x); ODD minors (v1.99.x) are unstable, so filter to even minors and ignore pre-releases. The `v` prefix is kept (no extractVersion) so the ARG value stays v-prefixed to match the git tags cloned in the Dockerfile.",
|
||||
"allowedVersions": "/^v\\d+\\.\\d*[02468]\\.\\d+$/",
|
||||
"ignoreUnstable": true
|
||||
},
|
||||
{
|
||||
@@ -30,8 +40,15 @@
|
||||
},
|
||||
{
|
||||
"matchManagers": ["dockerfile"],
|
||||
"matchPackageNames": ["golang", "alpine", "busybox"],
|
||||
"description": "Automerge PATCH-only bumps of build components (Go/Alpine/busybox) once the PR build passes; review minor/major manually.",
|
||||
"matchPackageNames": ["golang", "alpine"],
|
||||
"description": "Automerge PATCH-only bumps of build components (Go/Alpine) once the PR build passes; review minor/major manually.",
|
||||
"matchUpdateTypes": ["patch"],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["docker"],
|
||||
"matchPackageNames": ["busybox"],
|
||||
"description": "busybox ARG (custom manager): automerge PATCH bumps once the PR build passes; review minor/major manually.",
|
||||
"matchUpdateTypes": ["patch"],
|
||||
"automerge": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user