mirror of
https://gitea.com/gitea/tea.git
synced 2024-12-04 14:46:40 -05:00
use secrets for s3 info (#530)
Reviewed-on: https://gitea.com/gitea/tea/pulls/530
This commit is contained in:
parent
e51eb1a00e
commit
faa9858a7e
25
.drone.yml
25
.drone.yml
@ -110,11 +110,16 @@ steps:
|
|||||||
pull: always
|
pull: always
|
||||||
image: woodpeckerci/plugin-s3:latest
|
image: woodpeckerci/plugin-s3:latest
|
||||||
settings:
|
settings:
|
||||||
acl: public-read
|
acl:
|
||||||
bucket: gitea-artifacts
|
from_secret: aws_s3_acl
|
||||||
|
region:
|
||||||
|
from_secret: aws_s3_region
|
||||||
|
bucket:
|
||||||
|
from_secret: aws_s3_bucket
|
||||||
endpoint:
|
endpoint:
|
||||||
from_secret: aws_endpoint
|
from_secret: aws_s3_endpoint
|
||||||
path_style: true
|
path_style:
|
||||||
|
from_secret: aws_s3_path_style
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
target: "/tea/${DRONE_TAG##v}"
|
target: "/tea/${DRONE_TAG##v}"
|
||||||
@ -153,10 +158,16 @@ steps:
|
|||||||
pull: always
|
pull: always
|
||||||
image: woodpeckerci/plugin-s3:latest
|
image: woodpeckerci/plugin-s3:latest
|
||||||
settings:
|
settings:
|
||||||
acl: public-read
|
acl:
|
||||||
bucket: gitea-artifacts
|
from_secret: aws_s3_acl
|
||||||
|
region:
|
||||||
|
from_secret: aws_s3_region
|
||||||
|
bucket:
|
||||||
|
from_secret: aws_s3_bucket
|
||||||
endpoint:
|
endpoint:
|
||||||
from_secret: aws_endpoint
|
from_secret: aws_s3_endpoint
|
||||||
|
path_style:
|
||||||
|
from_secret: aws_s3_path_style
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
target: /tea/main
|
target: /tea/main
|
||||||
|
Loading…
Reference in New Issue
Block a user