Skip to content

Commit 15d2617

Browse files
mnaserclaude
andcommitted
feat: add custom manager to pin build-utils digest
Add a Renovate custom regex manager to detect and pin the digest of ghcr.io/vexxhost/build-utils in the --mount=type=bind,from= syntax. This ensures cache invalidation when build-utils is updated. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
1 parent 7b9d019 commit 15d2617

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

renovate.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["local>vexxhost/docker-atmosphere"]
3+
"extends": ["local>vexxhost/docker-atmosphere"],
4+
"customManagers": [
5+
{
6+
"customType": "regex",
7+
"fileMatch": ["(^|/)Dockerfile$"],
8+
"matchStrings": [
9+
"--mount=type=bind,from=(?<depName>[^:,\\s]+):(?<currentValue>[^@,\\s]+)(@(?<currentDigest>sha256:[a-f0-9]+))?"
10+
],
11+
"datasourceTemplate": "docker",
12+
"versioningTemplate": "docker"
13+
}
14+
]
415
}

0 commit comments

Comments
 (0)