Skip to content

Building Docker image fail in windows-latest #2474

@v-jiaodi

Description

@v-jiaodi

Describe the issue:
For todo-nodejs-mongo-aks and aca template , when changing the envrionment to windows-latest and executing azd pipeline config, get error as follow:
image

Repro Steps:

  1. Run azd auth login.

  2. Run azd init -t templateName -b staging

  3. Open azure-dev.yml file in .github/workflows. Remove two lines of code on container image. Add GHA code after checkout step(Shown as below).
    image

  4. Change the code to windows-latest as shown below. image

  5. Run azd pipeline config and verify the action pipeline.

Environment:

  • Template: todo-nodejs-mongo-aks,todo-nodejs-mongo-aca,todo-python-mongo-aca, todo-java-mongo-aca
  • Azd version: 1.0.2

Expected behavior:
Run azd pipeline config in windows-latest can pass.

@hemarina for notification.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions