GoogleCloudPlatform / cloud-run-button

Let anyone deploy your GitHub repos to Google Cloud Run with a single click
https://cloud.run
Apache License 2.0
525 stars 91 forks source link

Inherited env not cascaded to hook command envs #183

Closed tomlarkworthy closed 4 years ago

tomlarkworthy commented 4 years ago

First time you run it, the system prompts for user input for extra env variables, and these are visible in command env. The second time you run it, the system no longer prompts for user input, and the variables are missing from command env. Changing the name of the var will get you back to 1.

tomlarkworthy commented 4 years ago

My mistake

tomlarkworthy commented 4 years ago

No I am pretty sure something is wrong with the step of extracting env variables from a previously deployed service

jamesward commented 4 years ago

Just to verify, this is on prebuild / postbuild right?

tomlarkworthy commented 4 years ago

Yeah I observed on postbuild. Looks like you found the issue