Updated workflows, deps, and scripts (#428)

* Updated workflows, deps, and scripts

* Trying experimental cache

* update chef image
This commit is contained in:
Michael
2021-09-02 00:18:48 -07:00
committed by GitHub
parent 8a68607eb8
commit d1be2cae43
7 changed files with 90 additions and 106 deletions

View File

@@ -1,7 +1,7 @@
# ------------------ #
# -- Odin Planner -- #
# ------------------ #
FROM lukemathwalker/cargo-chef as planner
FROM lukemathwalker/cargo-chef:latest-rust-1.54-alpine as planner
WORKDIR /data/odin
COPY . .
RUN cargo chef prepare --recipe-path recipe.json
@@ -9,7 +9,7 @@ RUN cargo chef prepare --recipe-path recipe.json
# ------------------ #
# -- Odin Cacher -- #
# ------------------ #
FROM lukemathwalker/cargo-chef as cacher
FROM lukemathwalker/cargo-chef:latest-rust-1.54-alpine as cacher
WORKDIR /data/odin
COPY --from=planner /data/odin/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json