forked from laurent22/joplin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Server: Enable multi platform builds (amd64, armv7 and arm64) (lauren…
- Loading branch information
Showing
3 changed files
with
65 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,14 @@ jobs: | |
sudo apt-get update || true | ||
sudo apt-get install -y docker-ce docker-ce-cli containerd.io | ||
# the next line enables multi-architecture support for docker, it basically makes it use qemu for non native platforms | ||
# See https://hub.docker.com/r/tonistiigi/binfmt for more info | ||
docker run --privileged --rm tonistiigi/binfmt --install all | ||
# this just prints the info about what platforms are supported in the builder (can help debugging if something isn't working right) | ||
# and also proves the above worked properly | ||
sudo docker buildx ls | ||
- uses: actions/checkout@v2 | ||
- uses: olegtarasov/[email protected] | ||
- uses: actions/setup-node@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters