Skip to content

Platform linux/arm64 fails for build cache #571

@shahzzzam

Description

@shahzzzam

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:
1.
2.
3.

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

  • OS: [e.g. Windows]
  • Version [e.g. v1.0.0]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions