Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-architecture support #34

Open
TimKnight-DWP opened this issue Dec 3, 2024 · 2 comments
Open

Multi-architecture support #34

TimKnight-DWP opened this issue Dec 3, 2024 · 2 comments

Comments

@TimKnight-DWP
Copy link

We are building images for both amd64 and arm64 via Apko and Docker, I would like to be able to incert into both architectures and publish back up as a single Manifest reference both modified images

@amouat
Copy link
Collaborator

amouat commented Dec 3, 2024

I don't think incert supports multi-arch images currently.

As a workaround, you can use the --platform command to create new images for each architecture then use the docker manifest commands to create a new multiarch image. That would look something like this (untested):

docker manifest create multiplatform_image:latest \
            x86image@DIGEST \
            armimage@DIGEST
 docker manifest push multiplatform_image:latest

You'd need to parse the digests out of the incert output.

@xnox
Copy link

xnox commented Dec 3, 2024

Doing this, single shot, would be nice though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants