sharenet/.forgejo/workflows/podman-demo.yml
continuist 714cdf7c96
Some checks failed
CI/CD Pipeline with Direct Podman Access / test-backend (push) Failing after 0s
Podman Rootless Demo / test-rootless (push) Failing after 0s
test
2025-09-14 18:03:48 -04:00

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