Skip to content

Commit 50f55b7

Browse files
committed
ci: use sparse cargo registry protocol
1 parent 7bbfe3e commit 50f55b7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ WORKDIR /usr/src/qcext-server
99
# Run SQLX in offline mode
1010
ENV SQLX_OFFLINE=true
1111

12+
# Use spare registry protocol
13+
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
14+
1215
# Build the dependencies in a separate step to avoid rebuilding all of them
1316
# every time the source code changes. This takes advantage of Docker's layer
1417
# caching, and it works by doing a build using the Cargo.{toml,lock} files with

0 commit comments

Comments
 (0)