Skip to content

Commit

Permalink
Add linux/arm/v7 build to Docker CI
Browse files Browse the repository at this point in the history
Signed-off-by: Songlin Jiang <[email protected]>
  • Loading branch information
HollowMan6 committed Apr 25, 2024
1 parent 08f741d commit c21dfa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ jobs:
fi
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker buildx build -t $IMAGE_ID:$VERSION --platform linux/amd64,linux/386,linux/arm64,linux/ppc64le --push .
docker buildx build -t $IMAGE_ID:$VERSION --platform linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/ppc64le --push .
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM rust as builder
COPY . .
RUN apt update && apt install -y build-essential
# Reference: https://github.com/rust-lang/cargo/issues/8719#issuecomment-1516492970
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
# Install mdbook
RUN cargo install --git https://github.com/HollowMan6/mdBook mdbook
RUN cargo install --path .
Expand Down

0 comments on commit c21dfa6

Please sign in to comment.