constellation/.github/actions/gcp_login/action.yml
2022-09-19 01:09:56 -07:00

16 lines
541 B
YAML

name: GCP login
description: "Login to GCP & configure gcloud CLI."
inputs:
gcp_service_account_json:
description: "Service account with permissions to create Constellation on GCP."
required: true
runs:
using: "composite"
steps:
# As described at:
# https://github.com/google-github-actions/setup-gcloud#service-account-key-json
- name: Authorize GCP access
uses: google-github-actions/auth@ceee102ec2387dd9e844e01b530ccd4ec87ce955
with:
credentials_json: ${{ inputs.gcp_service_account_json }}