use drone secrets for s3 info (#399)

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/399
This commit is contained in:
techknowlogick 2023-02-08 05:57:32 +08:00
parent da4120809f
commit e47edbddf9
1 changed files with 10 additions and 2 deletions

View File

@ -85,8 +85,16 @@ steps:
pull: always
image: plugins/s3:latest
settings:
bucket: gitea-artifacts
endpoint: https://ams3.digitaloceanspaces.com
acl:
from_secret: aws_s3_acl
region:
from_secret: aws_s3_region
bucket:
from_secret: aws_s3_bucket
endpoint:
from_secret: aws_s3_endpoint
path_style:
from_secret: aws_s3_path_style
access_key:
from_secret: aws_access_key_id
secret_key: