Azure / acr-builder

Azure Container Registry Build Runner
MIT License
38 stars 35 forks source link

Platform linux/arm64 fails for build cache #571

Open shahzzzam opened 3 years ago

shahzzzam commented 3 years ago

Describe the bug

The following task YAML fails:

version: v1.0.0
steps:
  - build: -t samashahtest.azurecr.io/acb:arm64  --platform linux/arm64 https://github.com/Azure/acr-builder.git
    cache: "enabled"

Fails with the error:

Error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to load LLB: runtime execution on platform linux/arm64 not supported
Usage:
  /buildx build [OPTIONS] PATH | URL | - [flags]

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Any relevant environment information

Additional context Add any other context about the problem here.

shahzzzam commented 3 years ago

Does not seem related specifically to this project. But created an issue for tracking purposes