Commit 041adb2
authored
Add hooks for multi-arch builds on dockerhub (#1683)
- hooks/build overrides the default build command to use buildx and
create an image for amd64 and arm64 archictectures. The arm64 build
will take time to build as it is emulated using qemu.
- hooks/push overrides the default push command to push the multi-arch
images. The push is initiated from the buildx context since we have
the push argument(--push) set in the buildx command.1 parent 1e7c7f5 commit 041adb2
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments