Skip to content

Commit 3421485

Browse files
committed
Use quadlet and GitHub runner ubuntu-24.04
Fixes: #3 Signed-off-by: Erik Sjölund <[email protected]>
1 parent 751b81d commit 3421485

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/demo.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- main
66
jobs:
77
systemd_podman_echo_server_demo:
8-
runs-on: ubuntu-22.04
8+
runs-on: ubuntu-24.04
99
permissions:
1010
contents: read
1111
steps:
@@ -19,9 +19,9 @@ jobs:
1919
sudo apt-get update
2020
sudo apt-get install -y socat
2121
podman pull ghcr.io/eriksjolund/socket-activate-echo:latest
22+
mkdir -p ~/.config/containers/systemd
2223
mkdir -p ~/.config/systemd/user
23-
podman create --rm --name echo --network none ghcr.io/eriksjolund/socket-activate-echo
24-
podman generate systemd --name --new echo > ~/.config/systemd/user/echo.service
24+
cp checkout/echo.container ~/.config/containers/systemd
2525
cp checkout/echo.socket ~/.config/systemd/user/
2626
systemctl --user daemon-reload
2727
systemctl --user start echo.socket

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- main
1717
jobs:
1818
systemd_podman_echo_server_demo:
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020
permissions:
2121
contents: read
2222
steps:
@@ -30,9 +30,9 @@ jobs:
3030
sudo apt-get update
3131
sudo apt-get install -y socat
3232
podman pull ghcr.io/eriksjolund/socket-activate-echo:latest
33+
mkdir -p ~/.config/containers/systemd
3334
mkdir -p ~/.config/systemd/user
34-
podman create --rm --name echo --network none ghcr.io/eriksjolund/socket-activate-echo
35-
podman generate systemd --name --new echo > ~/.config/systemd/user/echo.service
35+
cp checkout/echo.container ~/.config/containers/systemd
3636
cp checkout/echo.socket ~/.config/systemd/user/
3737
systemctl --user daemon-reload
3838
systemctl --user start echo.socket

0 commit comments

Comments
 (0)