You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,34 @@ and it will run the build step on all versions that starts with 6.0.
116
116
117
117
The only other optional usefull argument is `--cpu=N` and it will set how many paralell processes will be used. By default you will use n - 1 number of cpu cores that is available on your system. Commands like pull and push aare not very cpu intensive so using a higher number here might speed things up if you have good network bandwidth.
118
118
119
+
## Multi-architecture Support (ARM64/x86)
120
+
121
+
The build system now supports multi-architecture builds using Docker Buildx. You can build images for both AMD64 and ARM64 platforms:
122
+
123
+
### Platform Options
124
+
125
+
-`amd64` - Build for AMD64/x86_64 only
126
+
-`arm64` - Build for ARM64 only
127
+
-`both` or `multi` - Build for both platforms (default)
128
+
129
+
### Building for ARM64
130
+
131
+
```bash
132
+
# Build for ARM64 only
133
+
invoke build 7.2.5 --platforms=arm64
134
+
135
+
# Build for both AMD64 and ARM64 (default)
136
+
invoke build 7.2.5 --platforms=both
137
+
138
+
# Push multi-arch images
139
+
invoke push 7.2.5 --platforms=both
140
+
141
+
# Use the dedicated buildx command
142
+
invoke buildx 7.2.5 --platforms=arm64
143
+
```
144
+
145
+
The `buildx` command provides additional control over multi-architecture builds and uses Docker Buildx builder instances for cross-platform compilation.
0 commit comments