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 <songlin.jiang@csc.fi>
  • Loading branch information
HollowMan6 committed Apr 25, 2024
1 parent 08f741d commit ef149a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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 .
4 changes: 3 additions & 1 deletion 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
RUN apt update && apt install -y build-essential git
# 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 ef149a7

Please sign in to comment.