You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release action - Separate runner for amd64 and arm64 (main) (#5130)
* Release action - Separate runner for amd64 and arm64 (main)
Previously arm64 images were created on a standard amd64 runner using qemu.
qemu emulation is very slow and there have been recent issues.
Native image creation is faster and more reliable.
This change creates separate runners for amd64 and arm64.
A new job is then needed to combine the image digests
into a multi-architecture manifest that gets pushed to Docker Hub and ghcr.
Signed-off-by: David Enyeart <[email protected]>
* Update ubuntu-20.04 to ubuntu-22.04 in docs
Update docs to reflect the update from ubuntu-20.04 to ubuntu-22.04.
Signed-off-by: David Enyeart <[email protected]>
---------
Signed-off-by: David Enyeart <[email protected]>
# build native images using a different runner for each architecture (faster and more reliable than using qemu to build multi-architecture images on ubuntu-22.04)
66
+
build-and-push-native-docker-images:
67
+
name: Build and Push native images
68
+
runs-on: ${{ matrix.runner }}
68
69
69
70
permissions:
70
71
contents: read
@@ -73,9 +74,15 @@ jobs:
73
74
strategy:
74
75
fail-fast: false
75
76
matrix:
76
-
registry:
77
-
- docker.io
78
-
- ghcr.io
77
+
78
+
runner:
79
+
- ubuntu-22.04 # creates linux-amd64 images
80
+
- ubuntu-22.04-arm # creates linux-arm64 images
81
+
82
+
# Dynamic matrix
83
+
# If owner is 'hyperledger' run job for Docker Hub and ghcr, otherwise for personal forks just run job for ghcr
- name: Create manifest list and push # combines the downloaded amd64 and arm64 digests and pushes multi-architecture manifest with the tags specified above
Copy file name to clipboardexpand all lines: docs/source/prereqs.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ path is to use WSL2 (Windows Subsystem for Linux version 2) to provide a native
128
128
129
129
WSL2 may not be installed by default; you can check and install WSL2 by going into "Programs and Features", clicking on "Turn Windows features on or off" and ensuring that both "Windows Subsystem For Linux" and "Virtual Machine Platform" are selected.
130
130
131
-
Next you will need to install a Linux distribution such as Ubuntu-20.04 and make sure it's set to using version 2 of WSL. Refer to [Install WSL](https://docs.microsoft.com/en-us/windows/wsl/install) for more information.
131
+
Next you will need to install a Linux distribution such as Ubuntu-22.04 and make sure it's set to using version 2 of WSL. Refer to [Install WSL](https://docs.microsoft.com/en-us/windows/wsl/install) for more information.
132
132
133
133
Finally, you need to ensure Docker Desktop has integration enabled for your distribution so it can interact with Docker elements, such as a bash command window. To do this, open the Docker Desktop gui and go into settings, select `Resources` and them `WSL Integration` and ensure the checkbox for enable integration is checked. You should then see your WSL2 linux distribution listed (if you don't then it is probably because it is still a WSL1 distribution and needs to be converted to WSL2) and you can then toggle the switch to enable integration for that distro. Refer to [Docker Desktop WSL2 backend](https://docs.docker.com/desktop/windows/wsl/) for more information
0 commit comments