2022-07-13 12:04:46 +00:00
|
|
|
name: GCP login
|
2022-05-03 09:15:53 +00:00
|
|
|
description: "Login to GCP & configure gcloud CLI."
|
|
|
|
inputs:
|
|
|
|
gcp_service_account_json:
|
2022-09-14 13:14:26 +00:00
|
|
|
description: "Service account with permissions to create Constellation on GCP."
|
2022-05-03 09:15:53 +00:00
|
|
|
required: true
|
|
|
|
runs:
|
2022-09-14 13:14:26 +00:00
|
|
|
using: "composite"
|
2022-05-03 09:15:53 +00:00
|
|
|
steps:
|
2022-09-14 13:14:26 +00:00
|
|
|
# As described at:
|
|
|
|
# https://github.com/google-github-actions/setup-gcloud#service-account-key-json
|
|
|
|
- name: Authorize GCP access
|
2022-10-17 09:14:41 +00:00
|
|
|
uses: google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72 # tag=v0.8.3
|
2022-09-14 13:14:26 +00:00
|
|
|
with:
|
|
|
|
credentials_json: ${{ inputs.gcp_service_account_json }}
|