diff --git a/Cargo.lock b/Cargo.lock index 13586a0..783a1f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -341,7 +341,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -1071,14 +1071,14 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.43" +version = "0.23.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0283386ce02abc0151e1761d08802dfe86c173b0b494af5cbc086574e453da06" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" dependencies = [ "aws-lc-rs", "log", @@ -1267,7 +1267,7 @@ dependencies = [ "getrandom 0.4.3", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/example/Dockerfile b/example/Dockerfile index 1acf122..75fe8ab 100644 --- a/example/Dockerfile +++ b/example/Dockerfile @@ -1,9 +1,9 @@ -FROM rust:1.99-bookworm@sha256:114c7a4425406451c2866b6aafe69fe29b1b298832db1277d411ac73c82d04d6 AS build +FROM rust:1.99-trixie@sha256:6ff07edce8775d0f64be7aba9197229407301bddf2054d62c27b541a6238a181 AS build WORKDIR /src COPY . . RUN cargo build --release -p example-function -FROM gcr.io/distroless/cc-debian12@sha256:e5d81ddde149641e2a9ba55be4545bc125c67de07508b03ba4c22e6eb0ded5aa AS image +FROM gcr.io/distroless/cc-debian13@sha256:159783207c2cd44c2aa5715961d13c8612368ac9bd450f887e3f08fc8ea461e3 AS image COPY --from=build /src/target/release/example-function /usr/local/bin/function EXPOSE 9443 USER nonroot:nonroot diff --git a/renovate.json b/renovate.json index 573fe28..a673775 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,14 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended", "docker:pinDigests", "helpers:pinGitHubActionDigests"], + "packageRules": [ + { + "description": "Update the example function's build and runtime images in one PR", + "matchManagers": ["dockerfile"], + "matchFileNames": ["example/Dockerfile"], + "groupName": "example function images" + } + ], "customManagers": [ { "customType": "regex",