Skip to content

Commit

Permalink
chore: update renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrootlogin committed Sep 28, 2024
1 parent f7d9c03 commit 01dc130
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 21 deletions.
15 changes: 9 additions & 6 deletions freshrss/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ ARG DEBIAN_VERSION="bookworm"

FROM dunglas/frankenphp:${FRANKENPHP_VERSION}-${DEBIAN_VERSION}

ARG USER="freshrss"
ARG SUPERCRONIC_VERSION="v0.2.32"
ARG FRESHRSS_VERSION="1.21.0"
ARG S6_OVERLAY_VERSION="v3.1.1.2"

# Get target arch
ARG TARGETARCH
ARG TARGETOS

# Set container root to read-only
# Set user
ARG USER="freshrss"

# Set versions
ARG SUPERCRONIC_VERSION="v0.2.32"
ARG S6_OVERLAY_VERSION="v3.1.1.2"
ARG FRESHRSS_VERSION="1.21.0"

# Set container root to read-only and production
ENV S6_READ_ONLY_ROOT="1"
ENV FRESHRSS_ENV="production"

Expand Down
35 changes: 20 additions & 15 deletions freshrss/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,59 @@
{
"fileMatch": ["freshrss/Dockerfile"],
"matchStrings": [
"ARG S6_OVERLAY_VERSION=\"(?<currentValue>[^\"]+)\""
"ARG FRANKENPHP_VERSION=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "just-containers/s6-overlay",
"datasourceTemplate": "github-releases",
"depNameTemplate": "dunglas/frankenphp",
"datasourceTemplate": "docker",
"versioningTemplate": "semver",
"extractVersionTemplate": "^v?(?<version>.*)$"
},
{
"fileMatch": ["freshrss/Dockerfile"],
"matchStrings": [
"ARG FRESHRSS_VERSION=\"(?<currentValue>[^\"]+)\""
"ARG SUPERCRONIC_VERSION=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "FreshRSS/FreshRSS",
"depNameTemplate": "aptible/supercronic",
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver",
"extractVersionTemplate": "^v?(?<version>.*)$"
},
{
"fileMatch": ["freshrss/Dockerfile"],
"matchStrings": [
"ARG SUPERCRONIC_VERSION=\"(?<currentValue>[^\"]+)\""
"ARG S6_OVERLAY_VERSION=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "aptible/supercronic",
"depNameTemplate": "just-containers/s6-overlay",
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver",
"extractVersionTemplate": "^v?(?<version>.*)$"
},
{
"fileMatch": ["freshrss/Dockerfile"],
"matchStrings": [
"ARG FRANKENPHP_VERSION=\"(?<currentValue>[^\"]+)\""
"ARG FRESHRSS_VERSION=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "dunglas/frankenphp",
"datasourceTemplate": "docker",
"depNameTemplate": "FreshRSS/FreshRSS",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver",
"extractVersionTemplate": "^v?(?<version>.*)$"
"extractVersionTemplate": "^(?<version>.*)$"
}
],
"packageRules": [
{
"matchDatasources": ["docker"],
"matchPackageNames": ["dunglas/frankenphp"],
"extractVersionTemplate": "^(?<version>[0-9.]+)-bookworm$"
},
{
"matchDatasources": ["github-releases"],
"matchPackagePrefixes": ["just-containers", "FreshRSS", "aptible"],
"matchPackageNames": ["just-containers/s6-overlay", "aptible/supercronic"],
"extractVersionTemplate": "^v?(?<version>.*)$"
},
{
"matchDatasources": ["docker"],
"matchPackageNames": ["dunglas/frankenphp"],
"extractVersionTemplate": "^(?<version>[0-9.]+)-bookworm$"
"matchDatasources": ["github-tags"],
"matchPackageNames": ["FreshRSS/FreshRSS"],
"extractVersionTemplate": "^(?<version>.*)$"
}
]
}

0 comments on commit 01dc130

Please sign in to comment.