1
1
mirror of https://gitea.com/gitea/tea synced 2024-11-23 00:12:05 +01:00

use secrets for s3 info (#530)

Reviewed-on: https://gitea.com/gitea/tea/pulls/530
This commit is contained in:
techknowlogick 2023-02-08 05:53:05 +08:00
parent e51eb1a00e
commit faa9858a7e

@ -110,11 +110,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
path_style: true
from_secret: aws_s3_endpoint
path_style:
from_secret: aws_s3_path_style
source: "dist/release/*"
strip_prefix: dist/release/
target: "/tea/${DRONE_TAG##v}"
@ -153,10 +158,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/main