File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,9 @@ for (version of versions) {
5252 let isDefaultSlim = new RegExp ( `${ defaultDebian } -slim` ) . test ( variant )
5353
5454 // Get full version from the first Dockerfile
55- if ( ! fullversion ) {
56- let dockerfile = fs . readFileSync ( dockerfilePath , 'utf-8' )
57- fullversion = dockerfile . match ( / E N V N O D E _ V E R S I O N = (?< major > \d + ) \. (?< minor > \d + ) \. (?< patch > \d + ) / )
58- }
55+ let dockerfile = fs . readFileSync ( dockerfilePath , 'utf-8' )
56+ fullversion = dockerfile . match ( / E N V N O D E _ V E R S I O N = (?< major > \d + ) \. (?< minor > \d + ) \. (?< patch > \d + ) / )
57+
5958 let tags = [
6059 `${ fullversion . groups . major } .${ fullversion . groups . minor } .${ fullversion . groups . patch } -${ variant } ` ,
6160 `${ fullversion . groups . major } .${ fullversion . groups . minor } -${ variant } ` ,
You can’t perform that action at this time.
0 commit comments