Skip to content

Commit

Permalink
use podman instead of docker for beaker-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Mar 27, 2024
1 parent 9217ba1 commit 3edb912
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/beaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ on:
required: false
type: string
acceptance_runs_on:
description: the runner group used for acceptance jobs run on
description: the runner group used for acceptance jobs run on, docker_podman hypervisor requires ubuntu-22.04
default: ubuntu-20.04
required: false
type: string
Expand Down Expand Up @@ -152,6 +152,15 @@ jobs:
name: "${{ matrix.name }}"
steps:
- uses: actions/checkout@v4
- name: Setup podman
if: ${{ inputs.beaker_hypervisor == 'docker_podman' }}
run: |
# podman in 22.04 is old and buggy, lets pull something fresh
echo 'deb http://archive.ubuntu.com/ubuntu/ noble main universe' | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y podman crun
systemctl start --user podman.socket
echo "DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock" >> "$GITHUB_ENV"
- name: install additional packages
if: ${{ inputs.additional_packages != '' }}
run: |
Expand Down

0 comments on commit 3edb912

Please sign in to comment.