Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 680 Bytes

multi-platform.md

File metadata and controls

19 lines (15 loc) · 680 Bytes

Multi-platform image

You can build multi-platform images using the platforms input as described below.

💡 List of available platforms will be displayed and available through our setup-buildx action.

💡 If you want support for more platforms, you can use QEMU with our setup-qemu action.

"docker": {
  "executor": "@nx-tools/nx-container:build",
  "options": {
    "file": "apps/api/Dockerfile",
    "platforms": ["linux/amd64", "linux/arm64"],
    "push": true,
    "tags": ["your-org/api:latest", "your-org/api:v1"],
  }
}