Skip to content

azd deploy fails in version 1.23.1 with "command must be provided if shell is not used" #6607

@fsfc1

Description

@fsfc1

We started seeing azd deploy failures in our GitHub Actions pipeline immediately after the release of azd 1.23.1. We are deploying a .NET Aspire solution to Azure Container Apps. The deployment works perfectly on azd 1.23.0.

Steps to reproduce:

  1. Run a GitHub Action workflow using ubuntu-latest.
  2. Install the latest azd via: curl -fsSL https://aka.ms/install-azd.sh | bash
  3. Run azd deploy --no-prompt.

Expected behavior: Successful Bicep build and deployment.
Actual behavior: The deployment fails during the infrastructure build phase with an internal Go error:

ERROR: failed deploying service '<APP_NAME>': building container app bicep: building bicepparam: failed running bicep build: command must be provided if shell is not used

Environment:
• OS: Linux (GitHub Actions Runner)
• Azd Version: 1.23.1
• Language: .NET 10 / Aspire

Workaround: Pinning the installation to version 1.23.0 resolved the issue: curl -fsSL https://aka.ms/install-azd.sh | bash -s -- --version 1.23.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions