3232 gcp_region : europe-west1
3333 gcp_resource_affix : test
3434 gcp_service_name : my-test-service
35- gcp_environment : main
3635` ` `
3736
3837Outputs can be accessed in the usual way. For example, to print all the outputs:
@@ -50,7 +49,8 @@ Outputs can be accessed in the usual way. For example, to print all the outputs:
5049 echo ${{ steps.get-deployment-info.outputs.version_slug }}
5150 echo ${{ steps.get-deployment-info.outputs.revision_tag }}
5251 echo ${{ steps.get-deployment-info.outputs.revision_tag_slug }}
53- echo ${{ steps.get-deployment-info.outputs.gcp_environment }}
52+ echo ${{ steps.get-deployment-info.outputs.gcp_environment_kebab }}
53+ echo ${{ steps.get-deployment-info.outputs.gcp_environment_screaming }}
5454 echo ${{ steps.get-deployment-info.outputs.gcp_project_name }}
5555 echo ${{ steps.get-deployment-info.outputs.gcp_project_number }}
5656 echo ${{ steps.get-deployment-info.outputs.gcp_region }}
@@ -71,6 +71,8 @@ Some of the outputs' values depend on whether the action is run on the `main` br
7171- ` revision_tag` is `<version>`
7272- ` image_version_tag` is `main-<version>`
7373- ` image_latest_tag` is `main-latest`
74+ - ` gcp_environment_kebab` is `production`
75+ - ` gcp_environment_screaming` is `PRODUCTION`
7476
7577# ## Non-main branch deployments
7678
@@ -80,3 +82,5 @@ Cloud Run without having to restrict the length of branch names.
8082- ` revision_tag` is `<truncated branch_tag_kebab>`
8183- ` image_version_tag` is `<truncated branch_tag_kebab>`
8284- ` image_latest_tag` is `<truncated branch_tag_kebab>-latest`
85+ - ` gcp_environment_kebab` is `staging`
86+ - ` gcp_environment_screaming` is `STAGING`
0 commit comments