Authentication can take up to 20mn on self-hosted runners in k8s (GCP)

This issue has been tracked since 2023-03-09.

TL;DR

Screenshot 2023-03-09 at 12 32 07

Expected behavior

Something faster

Observed behavior

This is happening almost for each build

Action YAML

jobs:
  build:
    runs-on: [self-hosted]
    
    outputs:
      helm_package: $IMAGE-${{ steps.clear-ref-heads-from-version.outputs.value }}
      branch: ${{ steps.clear-ref-heads-from-version.outputs.value }}

    steps:
    - uses: azure/[email protected]
      id: install

    - name: Debug github event name 
      run: |
          echo ${{ github.event_name }}

    - name: Checkout
      uses: actions/[email protected]
      with:
        ref: ${{ github.head_ref }}
        fetch-depth: 0
    
    - id: 'auth'
      uses: 'google-github-actions/[email protected]'
      with:
        credentials_json: '${{ secrets.ARTIFACTORY_GCLOUD }}'

    - name: 'Set up Cloud SDK'
      uses: 'google-github-actions/[email protected]'


### Log output

_No response_

### Additional information

Current runner version: '2.302.1'
More Details About Repo
Owner Name google-github-actions
Repo Name setup-gcloud
Full Name google-github-actions/setup-gcloud
Language TypeScript
Created Date 2019-11-05
Updated Date 2023-03-23
Star Count 1505
Watcher Count 65
Fork Count 548
Issue Count 11

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date