.
This commit is contained in:
parent
e0722cd43b
commit
b4e127d74d
2 changed files with 24 additions and 2 deletions
22
.forgejo/workflows/podman_test.yml
Normal file
22
.forgejo/workflows/podman_test.yml
Normal 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"
|
|
@ -1,8 +1,8 @@
|
|||
name: Test Deploy to OCI Registry
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
# manual press
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
|
Loading…
Add table
Reference in a new issue