Skip to content

Commit

Permalink
Explicitly use QEMU v8 for server image builds
Browse files Browse the repository at this point in the history
This works around the compilation issues observed with QEMU v7 (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 65512df
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 v7 compilation issues by explicitly using v8, 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 v7 compilation issues by explicitly using v8, 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 65512df

Please sign in to comment.