Skip to content

Commit

Permalink
Use newer crun version
Browse files Browse the repository at this point in the history
  • Loading branch information
matbme committed Apr 18, 2024
1 parent 4068e8c commit 11b47ff
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@ jobs:
steps:
- uses: actions/checkout@v4

# https://noobient.com/2023/11/15/fixing-ubuntu-containers-failing-to-start-with-systemd/
- name: Setup podman
# See both:
# https://github.com/actions/runner-images/issues/9425
# https://noobient.com/2023/11/15/fixing-ubuntu-containers-failing-to-start-with-systemd/
- name: Setup podman and patch crun
env:
CRUN_VER: 1.14.4
run: |
echo -e "Replacing $(crun --version | head -1) with newer"
sudo apt-get install -y podman
sudo CRUN_VER='1.11.2' curl -L "https://github.com/containers/crun/releases/download/${CRUN_VER}/crun-${CRUN_VER}-linux-amd64" -o "/usr/bin/crun"
sudo chmod +x "/usr/bin/crun"
echo -e "Replacing $(crun --version | head -1) with newer (${CRUN_VER})"
curl -Lo crun "https://github.com/containers/crun/releases/download/${CRUN_VER}/crun-${CRUN_VER}-linux-amd64"
sudo install crun /usr/bin/crun
- name: Install test dependencies
run: |
Expand Down

0 comments on commit 11b47ff

Please sign in to comment.