From 12b38c0f4560e33b32cd5fbe50881d4d2e97470e Mon Sep 17 00:00:00 2001 From: Amr Mahdi Date: Tue, 3 Mar 2026 14:30:47 -0800 Subject: [PATCH] [CI/Build] Allow mounting AWS credentials for sccache S3 auth (#35912) Signed-off-by: Amr Mahdi --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 495a480b7..ac6494ae9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -262,7 +262,9 @@ RUN --mount=type=cache,target=/root/.cache/uv \ # Build the vLLM wheel # if USE_SCCACHE is set, use sccache to speed up compilation +# AWS credentials mounted at ~/.aws/credentials for sccache S3 auth (optional) RUN --mount=type=cache,target=/root/.cache/uv \ + --mount=type=secret,id=aws-credentials,target=/root/.aws/credentials,required=false \ if [ "$USE_SCCACHE" = "1" ]; then \ echo "Installing sccache..." \ && case "${TARGETPLATFORM}" in \