File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 description : |
3333 Full identifier of the Workload Identity Provider,
3434 e.g. projects/889992792607/locations/global/workloadIdentityPools/github-actions/providers/github-actions-provider
35- Defaults to `env .PALLET_WORKLOAD_IDENTITY_PROVIDER`.
35+ Defaults to `vars .PALLET_WORKLOAD_IDENTITY_PROVIDER`.
3636 gcp-service-account :
3737 type : string
3838 required : false
3939 description : |
4040 Email address or unique identifier of the Google Cloud service
4141 account for which to impersonate and generate credentials.
42- Defaults to `env .PALLET_SERVICE_ACCOUNT`.
42+ Defaults to `vars .PALLET_SERVICE_ACCOUNT`.
4343 secrets : {}
4444
4545jobs :
@@ -101,11 +101,11 @@ jobs:
101101 service_account="${{ inputs.gcp-service-account }}"
102102
103103 if [ -z "$provider" ]; then
104- provider="${{ env .PALLET_WORKLOAD_IDENTITY_PROVIDER }}"
104+ provider="${{ vars .PALLET_WORKLOAD_IDENTITY_PROVIDER }}"
105105 fi
106106
107107 if [ -z "$service_account" ]; then
108- service_account="${{ env .PALLET_SERVICE_ACCOUNT }}"
108+ service_account="${{ vars .PALLET_SERVICE_ACCOUNT }}"
109109 fi
110110
111111 echo "gcp_workload_identity_provider=$provider" >> "$GITHUB_OUTPUT"
Original file line number Diff line number Diff line change @@ -81,14 +81,14 @@ inputs:
8181 description : |
8282 Full identifier of the Workload Identity Provider,
8383 e.g. projects/889992792607/locations/global/workloadIdentityPools/github-actions/providers/github-actions-provider
84- Defaults to `env .PALLET_WORKLOAD_IDENTITY_PROVIDER`.
84+ Defaults to `vars .PALLET_WORKLOAD_IDENTITY_PROVIDER`.
8585 gcp-service-account :
8686 type : string
8787 required : false
8888 description : |
8989 Email address or unique identifier of the Google Cloud service
9090 account for which to impersonate and generate credentials.
91- Defaults to `env .PALLET_SERVICE_ACCOUNT`.
91+ Defaults to `vars .PALLET_SERVICE_ACCOUNT`.
9292` ` `
9393
9494This job can be added to your workflow as follows:
You can’t perform that action at this time.
0 commit comments