Unverified Commit 12b38c0f authored by Amr Mahdi's avatar Amr Mahdi Committed by GitHub
Browse files

[CI/Build] Allow mounting AWS credentials for sccache S3 auth (#35912)


Signed-off-by: default avatarAmr Mahdi <amrmahdi@meta.com>
parent 467886a0
...@@ -262,7 +262,9 @@ RUN --mount=type=cache,target=/root/.cache/uv \ ...@@ -262,7 +262,9 @@ RUN --mount=type=cache,target=/root/.cache/uv \
# Build the vLLM wheel # Build the vLLM wheel
# if USE_SCCACHE is set, use sccache to speed up compilation # 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 \ 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 \ if [ "$USE_SCCACHE" = "1" ]; then \
echo "Installing sccache..." \ echo "Installing sccache..." \
&& case "${TARGETPLATFORM}" in \ && case "${TARGETPLATFORM}" in \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment