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

This commit is contained in:
Felix Lange 2023-08-12 10:32:50 +02:00 committed by GitHub
parent e91b21ce2b
commit 68860063fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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