File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,36 @@ Access at `http://localhost:4200` (UI with hot reload) or `http://localhost:8080
8181
8282### Example Configuration
8383
84+ For the below Dockerfile the following configuration is used which can be checked in the playground and verify whether the dependencies are picked.
85+
86+ ``` dockerfile
87+ # renovate: datasource=github-tags depName=node packageName=nodejs/node versioning=node
88+ ENV NODE_VERSION=20.10.0
89+ # renovate: datasource=github-releases depName=composer packageName=composer/composer
90+ ENV COMPOSER_VERSION=1.9.3
91+ # renovate: datasource=docker packageName=docker versioning=docker
92+ ENV DOCKER_VERSION=19.03.1
93+ # renovate: datasource=npm packageName=yarn
94+ ENV YARN_VERSION=1.19.1
95+ ```
96+
97+
8498``` json
8599{
86- "extends" : [" config:recommended" ]
100+ "extends" : [" config:recommended" ],
101+ "customManagers" : [
102+ {
103+ "customType" : " regex" ,
104+ "description" : " Update _VERSION variables in Dockerfiles" ,
105+ "managerFilePatterns" : [
106+ " /(^|/|\\ .)Dockerfile$/" ,
107+ " /(^|/)Dockerfile\\ .[^/]*$/"
108+ ],
109+ "matchStrings" : [
110+ " # renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\ s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\ s"
111+ ]
112+ }
113+ ]
87114}
88115```
89116
You can’t perform that action at this time.
0 commit comments