Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ced4a43

Browse files
committed
WIP
1 parent 1de3298 commit ced4a43

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ci/docker/run.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,14 @@ args=
236236
if [ "$SCCACHE_BUCKET" != "" ]; then
237237
args="$args --env SCCACHE_BUCKET"
238238
args="$args --env SCCACHE_REGION"
239-
args="$args --env AWS_ACCESS_KEY_ID"
240-
args="$args --env AWS_SECRET_ACCESS_KEY"
241239
args="$args --env AWS_REGION"
242240

243241
# Disable S3 authentication for PR builds, because the access keys are missing
244242
if [ "$PR_CI_JOB" != "" ]; then
245243
args="$args --env SCCACHE_S3_NO_CREDENTIALS=1"
244+
else
245+
args="$args --env AWS_ACCESS_KEY_ID"
246+
args="$args --env AWS_SECRET_ACCESS_KEY"
246247
fi
247248
else
248249
mkdir -p $HOME/.cache/sccache

0 commit comments

Comments
 (0)