trying minio instead for upload to s3 storage
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -15,17 +15,15 @@ steps:
|
||||
- echo "test" > apps/client/calchat.apk
|
||||
|
||||
- name: upload_apk
|
||||
image: plugins/s3
|
||||
settings:
|
||||
endpoint: https://garage.gilmour109.de
|
||||
bucket: calchat-releases
|
||||
access_key:
|
||||
image: minio/mc
|
||||
environment:
|
||||
ACCESS_KEY:
|
||||
from_secret: calchat_drone_garage_access_key
|
||||
secret_key:
|
||||
SECRET_KEY:
|
||||
from_secret: calchat_drone_garage_secret_key
|
||||
source: apps/client/calchat.apk
|
||||
target: /
|
||||
path_style: true
|
||||
commands:
|
||||
- mc alias set garage https://garage.gilmour109.de $ACCESS_KEY $SECRET_KEY --api S3v4 --path on
|
||||
- mc cp apps/client/calchat.apk garage/calchat-releases/
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user