diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 6149adf..f693565 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -39,6 +39,8 @@ jobs: uses: docker/build-push-action@v2 with: context: . + build-args: | + RUST_TOOLCHAIN_VERSION=1.71.1 push: true tags: | ${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.IMAGE }}:${{ github.sha }} diff --git a/Dockerfile b/Dockerfile index b93a02f..aaefd7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax = docker/dockerfile:1.2 # Base image containing all binaries, deployed to gcr.io/mango-markets/mango-geyser-services:latest -FROM rust:1.65.0 as base +FROM rust:${RUST_TOOLCHAIN_VERSION}-bullseye as base RUN cargo install cargo-chef RUN rustup component add rustfmt RUN apt-get update && apt-get install -y clang cmake ssh