Commit cf345584 authored by Roberto Sora's avatar Roberto Sora

Add s3 upload support in .goreleaser.yml via `blob` configuration

- used blob configuration instead of deprecated s3 one. this requires
adding a AWS_DEFAULT_REGION env var to the drone step (toghether with
the IAM credentials), because this
property is missing in the blob config
parent 31403655
......@@ -61,6 +61,11 @@ steps:
environment:
GITHUB_TOKEN:
from_secret: github_token
AWS_ACCESS_KEY_ID:
from_secret: downloads_drone_io_aws_access_key_id
AWS_SECRET_ACCESS_KEY:
from_secret: downloads_drone_io_aws_secret_access_key
AWS_DEFAULT_REGION: 'us-east-1'
commands:
- goreleaser
......
......@@ -92,3 +92,11 @@ archives:
files:
- README.md
- LICENSE.txt
blob:
-
provider: s3
bucket: arduino-downloads-prod-beagle
ids:
- arduino_cli
folder: "{{ .ProjectName }}"
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment