This commit is contained in:
parent
20319285e6
commit
17f3efae15
1 changed files with 7 additions and 12 deletions
|
@ -38,6 +38,7 @@ pipeline:
|
||||||
|
|
||||||
upload_build_versioned:
|
upload_build_versioned:
|
||||||
image: woodpeckerci/plugin-s3
|
image: woodpeckerci/plugin-s3
|
||||||
|
secrets: [minio_access, minio_secret]
|
||||||
settings:
|
settings:
|
||||||
bucket: tghandbook
|
bucket: tghandbook
|
||||||
source: dist/**/*
|
source: dist/**/*
|
||||||
|
@ -46,10 +47,8 @@ pipeline:
|
||||||
path_style: true
|
path_style: true
|
||||||
endpoint: https://artifacts.fromouter.space
|
endpoint: https://artifacts.fromouter.space
|
||||||
environment:
|
environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID: $MINIO_ACCESS
|
||||||
from_secret: minio_access
|
AWS_SECRET_ACCESS_KEY: $MINIO_SECRET
|
||||||
AWS_SECRET_ACCESS_KEY:
|
|
||||||
from_secret: minio_secret
|
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
group: upload
|
group: upload
|
||||||
|
@ -65,10 +64,8 @@ pipeline:
|
||||||
path_style: true
|
path_style: true
|
||||||
endpoint: https://artifacts.fromouter.space
|
endpoint: https://artifacts.fromouter.space
|
||||||
environment:
|
environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID: $MINIO_ACCESS
|
||||||
from_secret: minio_access
|
AWS_SECRET_ACCESS_KEY: $MINIO_SECRET
|
||||||
AWS_SECRET_ACCESS_KEY:
|
|
||||||
from_secret: minio_secret
|
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
group: upload
|
group: upload
|
||||||
|
@ -84,8 +81,6 @@ pipeline:
|
||||||
path_style: true
|
path_style: true
|
||||||
endpoint: https://artifacts.fromouter.space
|
endpoint: https://artifacts.fromouter.space
|
||||||
environment:
|
environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID: $MINIO_ACCESS
|
||||||
from_secret: minio_access
|
AWS_SECRET_ACCESS_KEY: $MINIO_SECRET
|
||||||
AWS_SECRET_ACCESS_KEY:
|
|
||||||
from_secret: minio_secret
|
|
||||||
group: upload
|
group: upload
|
||||||
|
|
Reference in a new issue