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

This commit is contained in:
Felix Lange 2023-08-12 10:32:50 +02:00
parent f298ec4fe1
commit a867039c53
1 changed files with 3 additions and 0 deletions

View File

@ -170,5 +170,8 @@ func applyEnvFlags(env Environment) Environment {
if *CronJobFlag {
env.IsCronJob = true
}
if *UbuntuVersionFlag != "" {
env.UbuntuVersion = *UbuntuVersionFlag
}
return env
}