From e143088b0b11de438725b973ea02e088e61f5f38 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Thu, 5 Dec 2024 13:26:10 +0100 Subject: [PATCH] =?UTF-8?q?fix(base):=20install=20QEMU=20for=20=E2=80=B9RU?= =?UTF-8?q?N=E2=80=BA=20in=20build=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/base-image-rebuild.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/base-image-rebuild.yml b/.github/workflows/base-image-rebuild.yml index a75a91a3..70092fe1 100644 --- a/.github/workflows/base-image-rebuild.yml +++ b/.github/workflows/base-image-rebuild.yml @@ -26,6 +26,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Install QEMU dependency + run: | + sudo apt-get update + sudo apt-get install -y qemu-user-static + - name: Build Image id: build-image uses: redhat-actions/buildah-build@v2