From: Alex Crichton Date: Tue, 21 May 2019 19:20:50 +0000 (-0700) Subject: Use new-style s3 urls in docker download script X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=8d42b87ac041dc05c9ae8c060aaa8864826639d4;p=rust.git Use new-style s3 urls in docker download script --- diff --git a/src/ci/docker/run.sh b/src/ci/docker/run.sh index 0e1485601e9..c9642dbf60c 100755 --- a/src/ci/docker/run.sh +++ b/src/ci/docker/run.sh @@ -42,7 +42,7 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then awk '{print $1}') s3url="s3://$SCCACHE_BUCKET/docker/$cksum" - url="https://s3-us-west-1.amazonaws.com/$SCCACHE_BUCKET/docker/$cksum" + url="https://$SCCACHE_BUCKET.s3.amazonaws.com/docker/$cksum" upload="aws s3 cp - $s3url" echo "Attempting to download $url"