From cfce25f0a7e15e06329b77657efdcf0d35739c3b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 16 Feb 2023 00:14:31 +0100 Subject: [PATCH] followup to: use secrets for s3 info (#530) --- .drone.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1298658..ef80154 100644 --- a/.drone.yml +++ b/.drone.yml @@ -129,10 +129,16 @@ steps: pull: always image: woodpeckerci/plugin-s3:latest settings: - acl: public-read - bucket: gitea-artifacts + acl: + from_secret: aws_s3_acl + region: + from_secret: aws_s3_region + bucket: + from_secret: aws_s3_bucket endpoint: - from_secret: aws_endpoint + from_secret: aws_s3_endpoint + path_style: + from_secret: aws_s3_path_style source: "dist/release/*" strip_prefix: dist/release/ target: "/tea/${DRONE_BRANCH##release/v}"