Hello,
I think it is possible but you have to use "options" field and "env" 
subfield. According to documentation [1] in "env" subfield you can specify 
"a list of global environment variable definitions that will exist for all 
build steps in this build. If a variable is defined in both globally and in 
a build step, the variable will use the build step value." 

[1] https://cloud.google.com/cloud-build/docs/build-config#options


On Friday, 8 January 2021 at 00:43:23 UTC+1 Bill wrote:

> Hi,
> The environment variables set inside the cloud_build.yaml file, are they 
> read by PHP? I mean, are they treated as system environment variables?
>
> I am considering using environment variables inside the cloud_build.yaml 
> file (via substitution) this way I can drop the use of app.yaml and not 
> expose my environment variables inside a file on source control.
>
> Thanks
> Bil 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4643414b-7557-450b-b8ce-c6bd1f09b421n%40googlegroups.com.

Reply via email to