fix workflow #2
Some checks failed
CI/CD Pipeline with Direct Podman Access / test-backend (push) Failing after 0s
Podman Rootless Demo / test-rootless (push) Failing after 15s

This commit is contained in:
continuist 2025-09-18 21:50:51 -04:00
parent 82c0d2fec3
commit f11d5d11a7

View file

@ -7,12 +7,23 @@ jobs:
# Point all steps at the host's rootless Podman socket # Point all steps at the host's rootless Podman socket
env: env:
# Point the client at the mounted socket
CONTAINER_HOST: unix:///run/user/1001/podman/podman.sock CONTAINER_HOST: unix:///run/user/1001/podman/podman.sock
# Make sure podman looks in the correct runtime dir hierarchy
XDG_RUNTIME_DIR: /run/user/1001
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Debug socket perms
run: |
set -euo pipefail
id -u; id -g
ls -ld /run /run/user /run/user/1001 /run/user/1001/podman || true
ls -l /run/user/1001/podman || true
test -S /run/user/1001/podman/podman.sock
- name: Use host rootless Podman - name: Use host rootless Podman
run: | run: |
set -euo pipefail set -euo pipefail