Skip to content

Commit

Permalink
use podman 4
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Mar 17, 2024
1 parent 3f3abce commit b347ebf
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/beaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,22 @@ jobs:
name: "${{ matrix.name }}"
steps:
- uses: actions/checkout@v4
- name: Setup podman
- name: Install podman 4.*
if: ${{ inputs.beaker_hypervisor == 'docker_podman' }}
run: |
sudo apt-get install -y podman
systemctl start --user podman.socket
echo "DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock" >> "$GITHUB_ENV"
sudo apt-get remove -y golang-github-containers-image \
&& sudo mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_$(lsb_release -rs)/Release.key \
| gpg --dearmor \
| sudo tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null \
&& echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg] \
https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_$(lsb_release -rs)/ /" \
| sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null \
&& sudo apt-get update -y \
&& sudo apt-get install -y podman skopeo \
&& systemctl start --user podman.socket \
&& echo "DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock" >> "$GITHUB_ENV"
- name: Podman version
run: |
podman version
Expand Down

0 comments on commit b347ebf

Please sign in to comment.