Skip to content

Commit

Permalink
Merge pull request #551 from PeggyJV/collin/fix-image-platforms
Browse files Browse the repository at this point in the history
Add platforms field to image builds
  • Loading branch information
cbrit committed Nov 30, 2023
2 parents 1f81db9 + 324b415 commit e1fa990
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
builder: ${{ steps.buildx.outputs.name }}
file: orchestrator/Dockerfile
push: true
platforms: linux/amd64, linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
Expand Down Expand Up @@ -103,6 +104,7 @@ jobs:
context: ./module
file: module/Dockerfile
push: true
platforms: linux/amd64, linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
builder: ${{ steps.buildx.outputs.name }}
Expand Down Expand Up @@ -203,6 +205,7 @@ jobs:
context: integration_tests/ethereum
file: integration_tests/ethereum/Dockerfile
push: true
platforms: linux/amd64, linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
builder: ${{ steps.buildx.outputs.name }}
Expand Down
4 changes: 2 additions & 2 deletions orchestrator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Reference: https://www.lpalmieri.com/posts/fast-rust-docker-builds/

FROM rust:1.68 as cargo-chef-rust
RUN cargo install cargo-chef --version 0.1.51
FROM rust:1.70 as cargo-chef-rust
RUN cargo install cargo-chef --version 0.1.62

FROM cargo-chef-rust as planner
WORKDIR app
Expand Down

0 comments on commit e1fa990

Please sign in to comment.