fix workflow #2
This commit is contained in:
parent
82c0d2fec3
commit
f11d5d11a7
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue