forked from gitea/gitea
1
0
Fork 0

Set ACL on uploads (#5344)

To support https://github.com/go-gitea/infrastructure/pull/39
This commit is contained in:
techknowlogick 2018-11-16 11:44:13 -05:00 committed by GitHub
parent e033d217e9
commit 241ee793b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -262,6 +262,7 @@ pipeline:
pull: true pull: true
secrets: [ aws_access_key_id, aws_secret_access_key ] secrets: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases bucket: releases
acl: public-read
endpoint: https://storage.gitea.io endpoint: https://storage.gitea.io
path_style: true path_style: true
strip_prefix: dist/release/ strip_prefix: dist/release/
@ -275,6 +276,7 @@ pipeline:
pull: true pull: true
secrets: [ aws_access_key_id, aws_secret_access_key ] secrets: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases bucket: releases
acl: public-read
endpoint: https://storage.gitea.io endpoint: https://storage.gitea.io
path_style: true path_style: true
strip_prefix: dist/release/ strip_prefix: dist/release/
@ -289,6 +291,7 @@ pipeline:
pull: true pull: true
secrets: [ aws_access_key_id, aws_secret_access_key ] secrets: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases bucket: releases
acl: public-read
endpoint: https://storage.gitea.io endpoint: https://storage.gitea.io
path_style: true path_style: true
strip_prefix: dist/release/ strip_prefix: dist/release/