From 681d13f3fa7b41541dad9dcc10fc5351a86d875a Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Wed, 24 Apr 2024 18:32:02 -0400 Subject: [PATCH] :ghost: update podman in the runner Signed-off-by: Pranav Gaikwad --- .github/workflows/testing.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 8d5d53a..bc7788a 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -6,6 +6,15 @@ jobs: test: runs-on: ubuntu-latest steps: + - name: Upgrade Podman to 4 + run: | + sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" + wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O Release.key + sudo apt-key add - < Release.key + sudo apt-get update + sudo apt-get install -y podman + podman --version + - name: Extract pull request number from inputs or PR description run: | echo "${{ github.event.pull_request.body }}"