Open rubenmamo opened 2 months ago
When I ran it yesterday I got this output:
Run azure/CLI@v2
Starting script execution via docker image mcr.microsoft.com/azure-cli:latest
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
WARNING: Azure CLI 2.63.0 is the last version available on Alpine and will not receive updates. Consider migrating to the Azure Linux based image for Azure CLI. For more information: https://go.microsoft.com/fwlink/?linkid=2282203
This seems to be related to https://github.com/Azure/azure-cli/issues/29828
Hi @rubenmamo, please temporarily pin azcliversion
to 2.63.0
. The image base of Azure CLI 2.64.0 has changed from Alpine to CBL Mariner 2.0. This change may introduce some breaking changes that could cause failures in bicep. We will investigate this issue during our work hours. Let's keep track of the issue in https://github.com/Azure/azure-cli/issues/29828.
@MoChilia thanks for your reply. I had in fact already applied that on my workflows once I figured out that the issue is due to the azure cli image
@rubenmamo, please try the solution mentioned in this blog. Temporarily, you have to install the icu package manually with tdnf install -y icu
. We're now collaborating with the Bicep team to resolve the issue in Azure CLI version 2.65.0.
Having this as well in 2.64.0 pinning 2.63.0 resolved the issue 👍🏽
Thanks for this thread. For anyone wondering this is the fix.
- name: Azure CLI Action
uses: Azure/cli@v2
with:
azcliversion: 2.63.0
inlineScript: az stack sub create
--name baseline-
.......
I have the following github workflow
this was working without issues, however, today I started getting the following error in the Deploy Stage 1 step: