Multi-platform image
How to build multi-platform images with Nx Container
You can build multi-platform images using the platforms
option, as shown in the following example:
Note
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.
"container": {
"executor": "@nx-tools/nx-container:build",
"options": {
"platforms": ["linux/amd64", "linux/arm64"],
"push": true,
"tags": ["user/app:latest"],
}
}
Last updated on