From ce3f91444e140e43a999f0601a439748205ec648 Mon Sep 17 00:00:00 2001 From: Hubbe Date: Fri, 8 Nov 2024 12:48:47 +0200 Subject: [PATCH] Try using the buildah/stable image from redhat --- .github/workflows/main.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5e72f4..2ce7496 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,6 +20,9 @@ permissions: jobs: build: runs-on: ubuntu-24.04 + # run jobs in buildah containers, since ubuntu is bad at keeping packages updated + container: + image: quay.io/buildah/stable:latest strategy: fail-fast: false matrix: @@ -53,14 +56,9 @@ jobs: - name: Install QEMU # qemu-user-static is used by buildah to do multiplatform builds + # the buildah image is fedora-based, hence we use dnf run: | - sudo apt update - sudo apt install -y qemu-user-static - - - name: Update buildah to latest - run: | - sudo apt update - sudo apt install -y buildah + sudo dnf install -y qemu-user-static - name: Log into ghcr.io uses: docker/login-action@v3