trying to make the pipeline builds work, desperately.

This commit is contained in:
2026-03-20 20:15:44 -05:00
parent 1c16f65476
commit 5a18c73572
13 changed files with 497 additions and 26 deletions

View File

@@ -31,7 +31,7 @@ RUN apt-get update && apt-get install -y \
WORKDIR /build
# Increase rustc stack size to prevent SIGSEGV during release builds
ENV RUST_MIN_STACK=33554432
ENV RUST_MIN_STACK=67108864
# Copy dependency metadata first so `cargo fetch` layer is cached
# when only source code changes (Cargo.toml/Cargo.lock stay the same)
@@ -62,8 +62,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=shared \
--mount=type=cache,target=/usr/local/cargo/git,sharing=shared \
cargo fetch
# Now copy the real source code, SQLx metadata, and migrations
COPY .sqlx/ ./.sqlx/
# Now copy the real source code and migrations
COPY migrations/ ./migrations/
COPY crates/ ./crates/