Skip to content

Commit

Permalink
chore: upgrade runners to 24.04 with user namespaces allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcoeffic committed Jan 21, 2025
1 parent 3e96680 commit 830899c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
platform:
- arch: x86_64
target: x86_64-unknown-linux-musl
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

- arch: aarch64
target: aarch64-unknown-linux-musl
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

runs-on: ${{ matrix.platform.runs-on }}
steps:
Expand Down Expand Up @@ -51,6 +51,7 @@ jobs:
sudo apt-get update
sudo apt-get install qemu-user-static
fi
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
cargo run --bin build-img -- -a $ARCH -b target/$TARGET/release/pkg
cargo clean
Expand Down

0 comments on commit 830899c

Please sign in to comment.