diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d1971a9..25239715 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,13 +118,7 @@ jobs: echo "deb $OPENSUSE_UNOFFICIAL_LIBCONTAINERS_SOURCE_URL/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list curl -fsSL $OPENSUSE_UNOFFICIAL_LIBCONTAINERS_KEY_URL | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null sudo apt -y purge podman - sudo apt update && sudo apt -y install podman - - name: Emulate docker with podman - run: | - mkdir -p $HOME/.bin - cat <(echo '#!/usr/bin/env bash') <(echo 'exec podman "$@"') > $HOME/.bin/docker - chmod +x $HOME/.bin/docker - echo "PATH=$HOME/.bin:$PATH" >> "$GITHUB_ENV" + sudo apt -y update && sudo apt -y satisfy "podman (>= 4.0), podman-docker" - name: Start Podman API run: systemctl --user enable --now podman.socket - name: Set DOCKER_HOST environment variable