diff --git a/cmd/build.go b/cmd/build.go index 870f32ef..0cfd6c23 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -78,7 +78,7 @@ var buildCmd = &cobra.Command{ nodeps := viper.GetBool("nodeps") onlydeps := viper.GetBool("onlydeps") keepExportedImages := viper.GetBool("keep-exported-images") - full := viper.GetBool("full") + full, _ := cmd.Flags().GetBool("full") compilerSpecs := compiler.NewLuetCompilationspecs() var compilerBackend compiler.CompilerBackend