Skip to content

bug: function runs on host even when specified --builder #2955

@gauron99

Description

@gauron99

Running

func run --verbose --builder=pack --build=1

in python function actually runs with host because container is false by default

Contrary running

func run --verbose --builder=pack --build=1 --container=1

runs as expected

I suspect a simple check /validation somewhere is missing for the combination of builder container etc. Maybe it's build config value is not checked ( result of config, ENVs, flags) etc.

/assign
/bug

Metadata

Metadata

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions