diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e15d3bf..10d2d68 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,6 +27,7 @@ jobs: - name: Set up Helm uses: azure/setup-helm@v4.2.0 with: + # renovate: datasource=github-releases depName=helm/helm version: v3.12.0 - name: Run chart-releaser diff --git a/charts/immich/Chart.yaml b/charts/immich/Chart.yaml index d56e113..17a66cf 100644 --- a/charts/immich/Chart.yaml +++ b/charts/immich/Chart.yaml @@ -4,4 +4,5 @@ description: A Immich Helm chart targeted at advanced users type: application version: 0.2.0 +# renovate: image=ghcr.io/immich-app/immich-server appVersion: "v1.124.2" diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000..213368d --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,19 @@ +{ + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: [ + 'config:recommended', + 'customManagers:helmChartYamlAppVersions', + 'helpers:pinGitHubActionDigests', + ], + customManagers: [ + { + customType: "regex", + fileMatch: ['\\.github/workflows/release.ya?ml'], + matchStrings: [ + // this is mostly a copy from https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions + // and only changes the expected version prefix + "# renovate: datasource=(?[a-z-.]+?) depName=(?[^\\s]+?)(?: (?:lookupName|packageName)=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?\\s+[A-Za-z0-9_]+?version\\s*:\\s*[\"']?(?.+?)[\"']?\\s" + ] + } + ] +} \ No newline at end of file