mockbuild: explicitly configure s3cmd
We are no longer using the variable names that s3cmd uses by default so we need to configure it explicitly. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
99a8d67812
commit
65e429fc4a
1 changed files with 2 additions and 0 deletions
|
|
@ -119,5 +119,7 @@ createrepo_c "${REPO_DIR}"
|
|||
# Upload repository to S3.
|
||||
greenprint "☁ Uploading RPMs to S3"
|
||||
pushd repo
|
||||
AWS_ACCESS_KEY_ID="$V2_AWS_ACCESS_KEY_ID" \
|
||||
AWS_SECRET_ACCESS_KEY="$V2_AWS_SECRET_ACCESS_KEY" \
|
||||
s3cmd --acl-public put --recursive . s3://${REPO_BUCKET}/
|
||||
popd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue