File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ jobs:
1616 - uses : dtolnay/rust-toolchain@stable
1717 with :
1818 toolchain : nightly
19-
19+ - uses : cargo-bins/cargo-binstall@main
2020 - name : Install musl toolchain and dependencies
2121 run : |
2222 sudo apt update && sudo apt install -y clang libbpf-dev
23- cargo install bpf-linker bindgen-cli
23+ cargo binstall bpf-linker
24+ cargo install bindgen-cli
2425 cargo xtask tarball --release --with-tag $VERSION
2526
2627 - name : Upload release artifacts
6970 echo IMAGE_ID=$IMAGE_ID
7071 echo VERSION=$VERSION
7172 docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
72- docker push $IMAGE_ID:$VERSION
73+ docker push $IMAGE_ID:$VERSION
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ FROM rust:1.95.0 AS bombini-builder
33RUN apt update && apt install -y bpftool clang libbpf-dev
44WORKDIR /bombini
55COPY . ./
6- RUN rustup show && cargo install bpf-linker bindgen-cli
6+ RUN rustup show && cargo install bindgen-cli
7+ RUN cargo install cargo-binstall --locked && cargo binstall bpf-linker
78RUN cargo xtask build --release
89RUN mkdir -p ./target/bpf-objs && \
910 find ./target/bpfel-unknown-none/release -maxdepth 1 -exec file {} + | \
You can’t perform that action at this time.
0 commit comments