The current documentation for the generic regexManager does not work.
ENV POETRY_VERSION=1.0.0 # github-releases/python-poetry/poetry
Syntax error - can't find = in "#". Must be of the form: name=value
Workaround is to provide separate manager for each ENV
The examples I used were the ones I tested with during development. We should definitely not need one manager per env

VSCode is complaining too, does normal docker build works?
oh, hmm - now I see what you mean, sorry. Can't recall if I ran docker build :o)
I guess we could put comments above each ENV line instead
If regex matching works it would be a better option
tested locally, build always fails with syntax error

Sorry, it's the docker build itself that's failing.. not the parsing
we moved to a multiline attempt due to this restriction in docker build:
Dockerfile:
# pypi: awscli
ENV AWS_CLI_VERSION=1.16.198
renovate config.js
{
fileMatch: ["(^|/)Dockerfile.*$"],
matchStrings: [
String.raw`#\s*(?<datasource>[^\s:]+)[\s:"']+(?<depName>[^"\s]+)["']?\s(?:ENV|ARG)\s+[^\s=]+["'\s=]+(?<currentValue>[^@\s"']+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?`
]
}
this is now fixed and live at https://docs.renovatebot.com/modules/manager/regex/#advanced-capture
Most helpful comment
Sorry, it's the
docker builditself that's failing.. not the parsing