Skip to content

Commit

Permalink
Explicitly use QEMU 8.x for server image builds
Browse files Browse the repository at this point in the history
This works around the compilation issues observed with QEMU 7.x (which is still
used by docker/setup-qemu-action by default) as described in
tonistiigi/binfmt#215.
  • Loading branch information
mserajnik committed Jan 23, 2025
1 parent 4834c9b commit 5ae82b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-custom-docker-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ jobs:

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# Work around QEMU 7.x compilation issues by explicitly using 8.x,
# which is not yet the default for the action.
# See https://github.com/tonistiigi/binfmt/issues/215
with:
image: tonistiigi/binfmt:qemu-v8.1.5

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-docker-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ jobs:

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# Work around QEMU 7.x compilation issues by explicitly using 8.x,
# which is not yet the default for the action.
# See https://github.com/tonistiigi/binfmt/issues/215
with:
image: tonistiigi/binfmt:qemu-v8.1.5

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit 5ae82b1

Please sign in to comment.