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

Fix issue with creating multi-platform Docker images #173

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

bedroge
Copy link
Collaborator

@bedroge bedroge commented Jan 19, 2024

The CI that builds our Docker images failed in the last step after merging #171. This step runs docker manifest to create a multi-platform Docker image based on the individual images that are built for each architecture. Not sure why that doesn't work anymore, but I found an alternative that uses docker buildx imagetools. Also see:
https://docs.docker.com/engine/reference/commandline/buildx_imagetools_create/
https://stackoverflow.com/a/75742743
docker/buildx#1509

Tested this in a test repo:
https://github.com/bedroge/dockertest
https://github.com/bedroge/dockertest/pkgs/container/client

@ocaisa ocaisa merged commit 5bd42b2 into EESSI:main Jan 19, 2024
20 checks passed
@bedroge bedroge deleted the fix_multiarch_images branch January 19, 2024 15:21
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

Successfully merging this pull request may close these issues.

2 participants