Closed benjaminhuo closed 3 years ago
It seems like the env vars are not being passed correctly. You could try to set those via a project.toml
file instead:
https://buildpacks.io/docs/reference/config/project-descriptor/
@jamesward It turns out that this is a tekton setting issue, and it's fixed following the method described in https://github.com/buildpacks/tekton-integration/issues/4
Thanks for the quick response
I am able to build sample functions https://github.com/OpenFunction/function-samples with the following command ,
google.go.functions-framework
is detected correctly:But when I use tekton to build the same function with
gcr.io/buildpacks/builder:v1
,google.go.functions-framework
cannot be detected even after I add correct function environment to tekton tasks:The tekton stuff is based on the CNB official website example with some modification