Release cli 2.63.0 to MAR
Describe the bug
The July 2024 milestone (2.63.0) of Azure CLI is build complete and released.
This should be built and released to Microsoft Artefact Registry.
Related command
docker pull mcr.microsoft.com/azure-cli:2.63.0
Errors
docker pull mcr.microsoft.com/azure-cli:2.63.0
What's next: View a summary of image vulnerabilities and recommendations → docker scout quickview mcr.microsoft.com/azure-cli:2.63.0 Error response from daemon: manifest for mcr.microsoft.com/azure-cli:2.63.0 not found: manifest unknown: manifest tagged by "2.63.0" is not found
Issue script & Debug output
N/A
Expected behavior
Container image would be pulled successfully.
Environment Summary
N/A
Additional context
No response
Thank you for opening this issue, we will look into it.
I just started to get errors using github actions and hosted runners using the azure/cli step and i think it's related. In a previous step we download and install azure-cli (2.63.0-1~jammy). When we get to the azure/cli@v2 step we now get
Error: Please enter a valid azure cli version. See available versions: https://github.com/Azure/azure-cli/releases. Error: Error: Please enter a valid azure cli version. See available versions: https://github.com/Azure/azure-cli/releases. Warning: Error: EISDIR: illegal operation on a directory, unlink '/home/runner/_work/_temp' cleaning up container... Warning: Error response from daemon: No such container: MICROSOFT_AZURE_CLI_1722955565962_CONTAINER
Error: Please enter a valid azure cli version. See available versions: https://github.com/Azure/azure-cli/releases.
We are having a very similar problem. The exact same GitHub action job worked with the previous cli version.
Run Azure/[email protected] Error: Please enter a valid azure cli version. See available versions: https://github.com/Azure/azure-cli/releases. Error: Error: Please enter a valid azure cli version. See available versions: https://github.com/Azure/azure-cli/releases. Warning: Error: EISDIR: illegal operation on a directory, unlink '/home/devopsuser/_work/_temp' cleaning up container... Warning: Error response from daemon: No such container: MICROSOFT_AZURE_CLI_1722952554945_CONTAINER
Error: Please enter a valid azure cli version. See available versions: https://github.com/Azure/azure-cli/releases.
We are experiencing the same error, first started occurring Tue, 06 Aug 2024 04:22:38 GMT with last successful run at Tue, 06 Aug 2024 04:09:30 GMT:
Run azure/CLI@v2
Error: Please enter a valid azure cli version.
See available versions: https://github.com/Azure/azure-cli/releases.
Error: Error: Please enter a valid azure cli version.
See available versions: https://github.com/Azure/azure-cli/releases.
Warning: Error: EISDIR: illegal operation on a directory, unlink '/home/devuser/actions-runner-1/_work/_temp'
cleaning up container...
Warning: Error response from daemon: No such container: MICROSOFT_AZURE_CLI_1722931206670_CONTAINER
Error: Please enter a valid azure cli version.
See available versions: https://github.com/Azure/azure-cli/releases.
Github action code
- name: Logout of Azure
uses: azure/CLI@v2
with:
inlineScript: |
az logout
az cache purge
az account clear
OS
Linux (ubuntu 20.04) x64 Source image publisher: canonical Source image offer: 0001-com-ubuntu-server-focal Source image plan: 20_04-lts
Az CLI version info
$ az --version
azure-cli 2.63.0
core 2.63.0
telemetry 1.1.0
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location '/opt/az/bin/python3'
Extensions directory '/home/devuser/.azure/cliextensions'
Python (Linux) 3.11.8 (main, Jul 31 2024, 03:40:01) [GCC 9.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
[Survey] Help us improve Azure CLI by sharing your experience. This survey shoul d take about 5 minutes. Run 'az survey' to open in browser. Learn more at https: //go.microsoft.com/fwlink/?linkid=2203309
2.63 Alpine image is not released yet, see #29628
For GitHub action error, set azcliversion to 2.62.0 as a workaround. @MoChilia for awareness.
2.63 Alpine image is not released yet, see #29628
For GitHub action error, set
azcliversionto 2.62.0 as a workaround. @MoChilia for awareness.
Thanks. Have confirmed that using v2.62.0 instead allows the action to succeed:
- name: Logout of Azure
uses: azure/CLI@v2
with:
azcliversion: 2.62.0
inlineScript: |
az logout
az cache purge
az account clear
Hi @paulbeattie, @jeffpppoint, @KurtSunday, @TCFMG, the azure-cli: 2.63.0 image has been released, see https://mcr.microsoft.com/en-us/product/azure-cli/tags. It is now available for use in Azure/cli action.