Set rust toolchain
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m53s
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m53s
This commit is contained in:
2
.cargo/config.toml
Normal file
2
.cargo/config.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[env]
|
||||
RUSTC_BOOTSTRAP = "1"
|
||||
@@ -1,4 +1,4 @@
|
||||
*
|
||||
!queries
|
||||
!src
|
||||
!Cargo.*
|
||||
!.cargo/config.toml
|
||||
|
||||
@@ -16,8 +16,6 @@ RUN cargo chef cook --release --recipe-path recipe.json
|
||||
COPY . .
|
||||
ARG RELEASE_VERSION
|
||||
ENV RELEASE_VERSION=${RELEASE_VERSION}
|
||||
# HACK: Enable the use of features on stable
|
||||
ENV RUSTC_BOOTSTRAP=1
|
||||
RUN cargo auditable build --release
|
||||
|
||||
FROM gcr.io/distroless/cc-debian12:nonroot AS runtime
|
||||
|
||||
4
rust-toolchain.toml
Normal file
4
rust-toolchain.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[toolchain]
|
||||
channel = "1.85"
|
||||
profile = "default"
|
||||
components = ["rust-analyzer"]
|
||||
Reference in New Issue
Block a user