Skip to content

Commit e143088

Browse files
committed
fix(base): install QEMU for ‹RUN› in build action
It appears that for building multi-arch images, you need to have some layer of emulation installed, i.e., QEMU, just to be able to execute the ‹RUN› commands during the image build as the container image of different architecture is still run on the host platform (therefore the execution needs to be emulated). Signed-off-by: Matej Focko <[email protected]>
1 parent ac6cb2e commit e143088

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/base-image-rebuild.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v3
2828

29+
- name: Install QEMU dependency
30+
run: |
31+
sudo apt-get update
32+
sudo apt-get install -y qemu-user-static
33+
2934
- name: Build Image
3035
id: build-image
3136
uses: redhat-actions/buildah-build@v2

0 commit comments

Comments
 (0)