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

Build X86 and ARM versions of the images #180

Merged
merged 3 commits into from
Apr 5, 2024
Merged

Build X86 and ARM versions of the images #180

merged 3 commits into from
Apr 5, 2024

Conversation

lucatume
Copy link
Contributor

@lucatume lucatume commented Apr 5, 2024

Modify the build workflows to build linux/amd64 (x86) and linux/arm64 versions of the slic and wordpress images.

When running slic upgrade on machines using latest versions of Docker on ARM machine (e.g. MacOS on Apple Silicon or Asahi Linux on Apple Silicon), the operation would fail lamentin lack of an ARM version for the images:

This update to the workflows will build both versions making it possible to run slic on all machines.

@lucatume lucatume self-assigned this Apr 5, 2024
@lucatume
Copy link
Contributor Author

lucatume commented Apr 5, 2024

Note: the first build of the images for both platforms took 4 ice ages; this notwithstanding the fact that, by default, the linux/amd64 version is built and should be cached already.

Builds are much faster now and will properly use the cache.

@lucatume lucatume merged commit 8afbe70 into main Apr 5, 2024
10 checks passed
@lucatume lucatume deleted the 1.5.3 branch April 5, 2024 12:10
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.

None yet

1 participant