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 Sep 20, 2024
1 parent 7d06327 commit a888a1c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/beaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@ jobs:
name: "${{ matrix.name }}"
steps:
- uses: actions/checkout@v4
- name: Setup podman
if: ${{ inputs.beaker_hypervisor == 'container_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 a888a1c

Please sign in to comment.