feat(storage): aws s3 storage
This commit is contained in:
parent
e42fbe73f4
commit
2b3f717efd
|
@ -41,3 +41,8 @@ drone_mysql_data_dir: "/var/lib/mysql/data"
|
|||
drone_mysql_password: "drone"
|
||||
drone_mysql_user: "drone"
|
||||
drone_mysql_db: "drone"
|
||||
|
||||
# S3 Storage
|
||||
aws_default_region: "us-east-1"
|
||||
aws_region: "us-east-1"
|
||||
drone_s3_bucket: ""
|
||||
|
|
|
@ -44,3 +44,10 @@ DRONE_GITEA_CLIENT_SECRET={{ drone_gitea_client_secret }}
|
|||
DRONE_GITEA_SKIP_VERIFY={{ drone_gitea_skip_verify }}
|
||||
DRONE_GITEA_DEBUG={{ drone_github_debug }}
|
||||
{% endif %}
|
||||
{% if aws_access_key_id != "" and aws_secret_access_key != "" %}
|
||||
aws_access_key_id={{ aws_access_key_id }}
|
||||
aws_secret_access_key={{ aws_secret_access_key }}
|
||||
aws_default_region={{ aws_default_region }}
|
||||
aws_region={{ aws_region }}
|
||||
drone_s3_bucket={{ drone_s3_bucket }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user