fix workflow
This commit is contained in:
parent
74b5892b4e
commit
82c0d2fec3
1 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@ jobs:
|
||||||
|
|
||||||
# Point all steps at the host's rootless Podman socket
|
# Point all steps at the host's rootless Podman socket
|
||||||
env:
|
env:
|
||||||
PODMAN_HOST: unix:///run/user/1001/podman/podman.sock
|
CONTAINER_HOST: unix:///run/user/1001/podman/podman.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
@ -16,12 +16,12 @@ jobs:
|
||||||
- name: Use host rootless Podman
|
- name: Use host rootless Podman
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
podman info --format '{{.Host.RemoteSocket.Path}} (remote={{.Host.RemoteSocket.Exists}})'
|
podman --remote info --format '{{.Host.RemoteSocket.Path}} (remote={{.Host.RemoteSocket.Exists}})'
|
||||||
podman version
|
podman --remote version
|
||||||
podman run --rm alpine:3.20 echo "Hello from host rootless Podman!"
|
podman --remote run --rm alpine:3.20 echo "Hello from host rootless Podman!"
|
||||||
|
|
||||||
- name: Build and run a container
|
- name: Build and run a container
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
podman build -t test-image .
|
podman --remote build -t test-image .
|
||||||
podman run --rm test-image
|
podman --remote run --rm test-image
|
Loading…
Add table
Reference in a new issue