diff options
| author | Fuwn <[email protected]> | 2025-05-20 02:26:08 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-05-20 02:26:08 -0700 |
| commit | a6693c24b8f27e21f29275b5ed50cd8eb3bc99f1 (patch) | |
| tree | 88277d707451e83398265909a3e8f2e763593410 | |
| parent | fix(footer): Increment copyright year (diff) | |
| download | locus-a6693c24b8f27e21f29275b5ed50cd8eb3bc99f1.tar.xz locus-a6693c24b8f27e21f29275b5ed50cd8eb3bc99f1.zip | |
build(container): Update build steps to remedy over-caching
| -rw-r--r-- | Earthfile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -46,11 +46,9 @@ build: COPY yarte.toml yarte.toml RUN find ./content -name "*.DS_Store" -delete - RUN --mount=type=cache,target=/source/locus/target \ - --mount=type=cache,target=/root/.cargo/registry \ - cargo build --release --bin locus \ - && strip -s /source/locus/target/x86_64-unknown-linux-musl/release/locus \ - && mv /source/locus/target/x86_64-unknown-linux-musl/release/locus . + RUN cargo build --release --bin locus + RUN strip -s /source/locus/target/x86_64-unknown-linux-musl/release/locus + RUN mv /source/locus/target/x86_64-unknown-linux-musl/release/locus . RUN strip -s /source/locus/locus RUN mkdir /new_tmp |