Skip to content

Commit

Permalink
Use quadlet and GitHub runner ubuntu-24.04
Browse files Browse the repository at this point in the history
Fixes #3

Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
  • Loading branch information
eriksjolund committed May 23, 2024
1 parent 751b81d commit 833ec6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main
jobs:
systemd_podman_echo_server_demo:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
Expand All @@ -19,9 +19,9 @@ jobs:
sudo apt-get update
sudo apt-get install -y socat
podman pull ghcr.io/eriksjolund/socket-activate-echo:latest
mkdir -p ~/.config/containers/systemd
mkdir -p ~/.config/systemd/user
podman create --rm --name echo --network none ghcr.io/eriksjolund/socket-activate-echo
podman generate systemd --name --new echo > ~/.config/systemd/user/echo.service
cp checkout/echo.container ~/.config/containers/systemd
cp checkout/echo.socket ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user start echo.socket
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
- main
jobs:
systemd_podman_echo_server_demo:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
Expand All @@ -30,9 +30,9 @@ jobs:
sudo apt-get update
sudo apt-get install -y socat
podman pull ghcr.io/eriksjolund/socket-activate-echo:latest
mkdir -p ~/.config/containers/systemd
mkdir -p ~/.config/systemd/user
podman create --rm --name echo --network none ghcr.io/eriksjolund/socket-activate-echo
podman generate systemd --name --new echo > ~/.config/systemd/user/echo.service
cp checkout/echo.container ~/.config/containers/systemd
cp checkout/echo.socket ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user start echo.socket
Expand Down

0 comments on commit 833ec6a

Please sign in to comment.