This commit is contained in:
Mrrp 2025-03-07 18:54:58 -08:00
parent e0722cd43b
commit b4e127d74d
2 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,22 @@
name: Test for the presence of Podman
on:
# manual press
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Test for Podman
run: |
podman --version
podman info
podman run --rm -it docker.io/library/alpine:latest echo "Hello, World!"
podman run --rm -it docker.io/library/alpine:latest echo "Hello, World!" | grep "Hello, World!"
podman run --rm -it docker.io/library/alpine:latest echo "Hello, World!" | grep "Goodbye, World!"
podman run --rm -it docker.io/library/alpine:latest echo "Hello, World!" | grep "Goodbye, World!" || exit 1
echo "Podman is installed"

View file

@ -1,8 +1,8 @@
name: Test Deploy to OCI Registry
on:
push:
branches: [ main ]
# manual press
workflow_dispatch:
jobs:
deploy: