-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📢 Azure/login v2 Release Announcement #424
Comments
@MoChilia /usr/bin/az account clear |
@JimSuplizio, it's because the default Azure PowerShell version on the runner is not the latest. It's not related to the Azure Login Action release. |
@MoChilia yes, but this warning wasn't happening on the v1 version, only the v2. I'm just bringing that to your attention. |
@MoChilia can you please let me know if the |
Hi - could you confirm if the issue #403 is expected to be resolved in v2 ? We just tried a CICD workflow run with v2 and we still get the error message as specified in issue 403. i.e. We have concurrent jobs running with az login in both jobs, when one job finishes before another, the post clean up of credentials causes the other job to fail. Keep in mind both jobs run on the same self hosted runner. |
Hi @mennlo, we've updated |
Hi @ChamalGomesHSO, the issue with #403 is due to installing azure-cli within the job, which can cause failures in the It appears you have multiple runners on a single VM to run jobs in parallel, which can be risky. If you log in to different accounts in two jobs, you may switch to the wrong Azure account. We recommend using one single VM user per runner. For more details, see https://github.com/Azure/login?tab=readme-ov-file#security-hardening. |
Would be nice to have these kind of announcements in a changelog file or something. |
Hi @JackBruceShell, could you open a new issue with your sample workflow and runner configuration? |
|
👀 What’s new in
azure/login@v2
?azure/login
is updated fromNode16
toNode20
due to the upcoming deprecation of Node16.azure/login
with a self-hosted runner, ensure it's running Actions Runner image v2.308.0 or later.To apply this change, please update the version of
azure/login
tov2
in your workflow files.The text was updated successfully, but these errors were encountered: