diff --git a/renovate.json5 b/renovate.json5 index 2fe42f38..0d01aeda 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -10,6 +10,16 @@ "matchStrings": [ "# renovate: datasource=(?[a-z-]+?)(?: packageName=(?.+?))?(?: versioning=(?[a-z-]+))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s" ] + }, + { + "customType": "regex", + "description": "Update versioned images used by Dockerfile COPY --from instructions", + "managerFilePatterns": ["/^Dockerfile$/"], + "matchStrings": [ + "COPY --from=(?[^:\\s]+):(?[^\\s]+)\\s" + ], + "datasourceTemplate": "docker", + "versioningTemplate": "docker" } ], "labels": ["dependencies"]