19 lines
No EOL
449 B
YAML
19 lines
No EOL
449 B
YAML
name: Podman Rootless Demo
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test-rootless:
|
|
runs-on: [ci]
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Test Podman rootless
|
|
run: |
|
|
podman --version
|
|
podman run --rm alpine:3.20 echo "Hello from rootless Podman!"
|
|
|
|
- name: Build and run a container
|
|
run: |
|
|
podman build -t test-image .
|
|
podman run --rm test-image |