mirror of
https://github.com/bensuperpc/dockcross.git
synced 2026-07-26 04:48:08 +02:00
ci: push multi-arch images with manifest-tool
Instead of buildah. - Simplified workflow: manifest-tool provides a more straightforward command-line interface for creating manifest lists - Better integration: manifest-tool is specifically designed for manifest list/OCI index creation and management - Cross-platform compatibility: Works with both Docker v2.2 manifest lists and OCI v1 indexes - Template-based approach: The --template and --platforms flags provide a cleaner way to specify multi-arch images
This commit is contained in:
@@ -620,6 +620,14 @@ Note that the architecture is now `aarch64` instead of `amd64`, so it runs nativ
|
||||
|
||||
\-\--
|
||||
|
||||
## Multi-architecture Image Creation
|
||||
|
||||
For creating multi-architecture container images, this project uses [manifest-tool](https://github.com/estesp/manifest-tool) to create and manage manifest lists that combine platform-specific images into a single multi-platform reference. This allows container runtimes to automatically select the appropriate image based on the target architecture.
|
||||
|
||||
The multi-architecture images are built on different architectures (amd64 and arm64) and then combined using manifest-tool's `push from-args` command, which creates manifest lists pointing to the individual platform-specific images.
|
||||
|
||||
---
|
||||
|
||||
Credits:
|
||||
|
||||
- [sdt/docker-raspberry-pi-cross-compiler](https://github.com/sdt/docker-raspberry-pi-cross-compiler), who invented the base of the **dockcross** script.
|
||||
|
||||
Reference in New Issue
Block a user