knative/func

`builderImages` is ignored

Closed this issue · 2 comments

builderImages configuration in func.yaml is documented here: https://github.com/knative/func/blob/main/docs/reference/func_yaml.md#builderimages

However, no matter the value placed in this configuration, the builderImages.pack is ignored by both the func build and func deploy commands.

Reproduction

  1. Create any func project func create --language springboot myfunc
  2. Change func.yaml to contain
builderImages:
  pack: paketobuildpacks/builder-jammy-full:latest
  1. func build - notice it still uses ghcr.io/knative/builder-jammy-base:latest

The doc seems to be outdated.
The builderImages option should be under build section.

build:
  builderImages:
    pack: paketobuildpacks/builder-jammy-full:latest

I can confirm that works @matejvasek
I'll leave this issue open as the documentation needs to be updated.