Skip to content

Commit 0c3b1a6

Browse files
Add logging to podman-setup action
1 parent 3108d94 commit 0c3b1a6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/actions/podman-setup/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ runs:
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

0 commit comments

Comments
 (0)