deploy-cloudrun
deploy-cloudrun copied to clipboard
Support env_vars as a file.
TL;DR
Allow multiple env_vars to be specified in a .env
file.
Design
Docker supports specifying multiple environmental variables in a .env
file with the command line argument --env-file
, and it would be very convenient to easily be able to deploy those to cloud run as well, without needing to re-copy them as a comma separated string in env_vars.
- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/[email protected]
with:
service: my-awesome-service
image: ...
env_vars: MY_VAR1=10,MY_VAR2=HELLO,...,MY_VAR_100=WORLD
env_vars_file: easier_place_to_keep_vars.env
Resources