diff --git a/.forgejo/workflows/podman-demo.yml b/.forgejo/workflows/podman-demo.yml new file mode 100644 index 0000000..dbfbb1c --- /dev/null +++ b/.forgejo/workflows/podman-demo.yml @@ -0,0 +1,19 @@ +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 \ No newline at end of file