login
login copied to clipboard
azure/login pre step takes up to 1 minute to execute
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:
What can be done to speed this up?