s3/s3upload.drone hinzugefügt

This commit is contained in:
Phil 2023-08-22 20:41:10 +02:00
parent 5cfb93302c
commit 02ed89d0fa

16
s3/s3upload.drone Normal file
View file

@ -0,0 +1,16 @@
# Example for the usage of s3upload.sh on DroneCI
- name: Release_binary s3
image: alpine
environment:
s3_host:
from_secret: s3_host
s3_key:
from_secret: s3_key
s3_secret:
from_secret: s3_secret
commands:
- apk add curl wget ca-certificates openssl bash
- cd dist/
- wget https://git.hackmi.ch/Phil/ci-scripts/raw/branch/main/s3/s3upload.sh
- bash s3upload.sh BUCKET FILENAME