Azure / login

Connect to Azure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre Azure Login and Post Azure login failing

wulfnb opened this issue · comments

In GitHub actions, I'm using Azure Login.

But 4 hours ago its getting new jobs getting added Pre Azure Login and Post Azure login and its failing.

    - name: Azure login
      uses: Azure/login@v1
      with:
        creds: 
Screenshot 2024-01-16 at 6 24 43 PM Screenshot 2024-01-16 at 6 28 16 PM

Relates to Issue 403

Same problem here. We've pinned to version azure/login@1.5.1 and the pipeline succeeded

You cannot assume the azure CLI is installed already. Is there a way we can opt out of the pre-login functionality?

Also experiencing this issue. Can confirm that azure/login@1.5.1 resolve this issue but that is IMHO a workaround

commented

We install azure cli in a step right before calling azure/login. As mentioned above, it should not be assumed az cli is installed on the runner/container.

commented

Could you guys point your v1 tag to same commit as 1.5.1?

Let's track this in #403.

Azure/login@v1.5.1
This has fixed the problem of pre-login functionality.
We cannot mandate the installation of Azure CLI on the GitHub runners as it may not be used in other pipelines.