-
Notifications
You must be signed in to change notification settings - Fork 54
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
Action is not compatible with latest Github base image #175
Comments
As a workaround you can use
|
@Tolsto, @MoChilia What value should be specified for Context: when using
The YML looks roughly like this: - name: 'Login via Azure CLI'
uses: azure/[email protected]
env:
AZURE_CONFIG_DIR: '/home/runner/.azure'
with:
client-id: ${{ some.value }}
tenant-id: ${{ some.value }}
subscription-id: ${{ some.value }}
- name: Do something
uses: nick-fields/[email protected]
env:
AZURE_CONFIG_DIR: '/root/.azure'
with:
timeout_seconds: 360
max_attempts: 5
retry_wait_seconds: 10
command: |
az some command This is a blocking issue right now. |
Looks like the following works: AZURE_CONFIG_DIR: '/home/runner/.azure' |
Thank you for reporting this! We are now looking into this issue. |
Hi @Tolsto, @mcalthrop, may I know which runner image you are using to trigger this issue? I want to test the fix. |
@MoChilia We've narrowed it down to a specific image that always fails: It never fails with the previous image: The problem is that the GitHub code seems to choose the image at random. So it's really hard to test: if the good image is chosen, we have to re-run the workflow until it so happens to choose the bad image. |
The Azure CLI product team demands an immediate revert of this change: actions/runner-images#11173 (comment). |
We use ubuntu-latest (for x86) and the default image provided by the ARM runner. As already pointed out by @mcalthrop the rollout of the new image seems to be staged, i.e. failures are random. |
The GitHub runner image team has started the rollback: actions/runner-images#11400. The issue should be resolved soon. Let's wait for them to complete the rollback. And I would like to send a big thank you to @Tolsto for bringing this issue to our attention. Your immediate report has helped us prevent a large-scale outage. 👍 |
This action expects the access token to be in
${process.env.HOME}/.azure
. However, the latest Github base image now uses/opt/az-config
As a result, this action doesn't work anymore when using it together with theazure/login
action.The text was updated successfully, but these errors were encountered: