mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 17:16:25 +00:00
15 lines
555 B
TypeScript
15 lines
555 B
TypeScript
import type { Preset } from '../types';
|
|
|
|
export const presets: Record<string, Preset> = {
|
|
dockerfileVersions: {
|
|
description: 'Update _VERSION variables in Dockerfiles',
|
|
regexManagers: [
|
|
{
|
|
fileMatch: ['(^|/|\\.)Dockerfile$', '(^|/)Dockerfile\\.[^/]*$'],
|
|
matchStrings: [
|
|
'# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>[^\\s]+?)(?: lookupName=(?<lookupName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
};
|