File tree Expand file tree Collapse file tree
.github/actions/podman-setup Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - name : Podman setup
77 shell : bash
88 run : |
9+ echo "Installing Podman"
910 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
1011 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
1112 sudo apt-get update
1213 sudo apt-get -y install podman
14+ echo "Enabling Podman socket"
1315 systemctl enable --now --user podman podman.socket
16+ echo "Getting Podman info"
1417 podman info
18+ echo "Setting up environment for Podman"
1519 echo "DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/podman/podman.sock" >> $GITHUB_ENV
1620 echo "CI_ROOTLESS=true" >> $GITHUB_ENV
1721 echo "CI_PODMAN=true" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments