From 3bac624e8846b777a7336c4f380c15dd363a2856 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 2 Sep 2021 18:02:38 +0200 Subject: [PATCH] Pass the variables to `aws` again :) --- scripts/compile_version_upload_s3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/compile_version_upload_s3.sh b/scripts/compile_version_upload_s3.sh index feb432ea6c8..ccbfe874bb4 100755 --- a/scripts/compile_version_upload_s3.sh +++ b/scripts/compile_version_upload_s3.sh @@ -87,10 +87,10 @@ docker cp $CONTAINER_ID:/home/docs/$OS-$LANGUAGE-$VERSION.tar.gz . docker container kill $CONTAINER_ID # Upload the .tar.gz to S3 -AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-admin}" -AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY:-password}" AWS_ENDPOINT_URL="${AWS_ENDPOINT_URL:-http://localhost:9000}" AWS_LANGUAGES_BUCKET="${AWS_LANGUAGES_BUCKET:-languages}" +AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-admin}" \ +AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY:-password}" \ aws --endpoint-url $AWS_ENDPOINT_URL s3 cp $OS-$LANGUAGE-$VERSION.tar.gz s3://$AWS_LANGUAGES_BUCKET # Delete the .tar.gz file from the host