diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 524e53445..93366ea48 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -95,6 +95,12 @@ jobs: 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" - name: Start Podman API run: systemctl --user enable --now podman.socket - name: Set DOCKER_HOST environment variable