Skip to content

[gar-auth] fix create_credentials_file bool #4

[gar-auth] fix create_credentials_file bool

[gar-auth] fix create_credentials_file bool #4

Workflow file for this run

name: test-actions
on:
push:
permissions:
contents: read
id-token: write #required for GCP Workload Identity federation which we use to login into Google Artifact Registry
jobs:
run-docker-setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./docker-setup
run-gar-auth:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./gar-auth
with:
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_SERVICE_ACCOUNT_EMAIL: ${{ vars.GCP_SERVICE_ACCOUNT_EMAIL }}
create_credentials_file: true
- uses: ./gar-auth
with:
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_SERVICE_ACCOUNT_EMAIL: ${{ vars.GCP_SERVICE_ACCOUNT_EMAIL }}
create_credentials_file: false