Skip to content

azure/login pre step takes up to 1 minute to execute #456

@olafurnielsen

Description

@olafurnielsen

Observed behavior:
The pre step in azure/login takes up to 1 minute to execute. Very seldom does it take a few seconds to execute. In some of our builds this accounts for half the total build time.

Expected behavior:
The step should consistently execute in a few seconds.

Information:

  • azure/login@v2
  • Authenticating against Azure public cloud
  • Using OIDC credentials
  • Running on GitHub hosted runners

Used as:

- name: Login to Azure
  uses: azure/login@v2
  with:
    tenant-id: ${{ secrets.AZURE_TENANT_ID }}
    client-id: ${{ secrets.AZURE_CLIENT_ID }}
    subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

Resulting in:
Screenshot 2024-06-05 at 09 55 30
Screenshot 2024-06-05 at 09 55 14

What can be done to speed this up?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions