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:
|
||||
image: woodpeckerci/plugin-s3
|
||||
secrets: [minio_access, minio_secret]
|
||||
settings:
|
||||
bucket: tghandbook
|
||||
source: dist/**/*
|
||||
|
@ -46,10 +47,8 @@ pipeline:
|
|||
path_style: true
|
||||
endpoint: https://artifacts.fromouter.space
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: minio_access
|
||||
AWS_SECRET_ACCESS_KEY:
|
||||
from_secret: minio_secret
|
||||
AWS_ACCESS_KEY_ID: $MINIO_ACCESS
|
||||
AWS_SECRET_ACCESS_KEY: $MINIO_SECRET
|
||||
when:
|
||||
event: push
|
||||
group: upload
|
||||
|
@ -65,10 +64,8 @@ pipeline:
|
|||
path_style: true
|
||||
endpoint: https://artifacts.fromouter.space
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: minio_access
|
||||
AWS_SECRET_ACCESS_KEY:
|
||||
from_secret: minio_secret
|
||||
AWS_ACCESS_KEY_ID: $MINIO_ACCESS
|
||||
AWS_SECRET_ACCESS_KEY: $MINIO_SECRET
|
||||
when:
|
||||
event: pull_request
|
||||
group: upload
|
||||
|
@ -84,8 +81,6 @@ pipeline:
|
|||
path_style: true
|
||||
endpoint: https://artifacts.fromouter.space
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: minio_access
|
||||
AWS_SECRET_ACCESS_KEY:
|
||||
from_secret: minio_secret
|
||||
AWS_ACCESS_KEY_ID: $MINIO_ACCESS
|
||||
AWS_SECRET_ACCESS_KEY: $MINIO_SECRET
|
||||
group: upload
|
||||
|
|
Reference in a new issue