internal/build: apply -ubuntu to env (#27910)

This commit is contained in:
Felix Lange authored and GitHub committed 2023-08-12 10:32:50 +02:00
1 parent e91b21ce2b
commit 68860063fb
1 file changed
+3
+3
View File
@@ -170,5 +170,8 @@ func applyEnvFlags(env Environment) Environment {
if *CronJobFlag {
env.IsCronJob = true
}
if *UbuntuVersionFlag != "" {
env.UbuntuVersion = *UbuntuVersionFlag
}
return env
}