Snootalogue/.drone.yml

31 lines
709 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build-linux
image: mcr.microsoft.com/dotnet/core/sdk:3.1
commands:
- dotnet publish -p:PublishProfile=Linux
- tar czf linux.tar.gz out/release/linux
- name: build-windows
image: mcr.microsoft.com/dotnet/core/sdk:3.1
commands:
- dotnet publish -p:PublishProfile=Windows
- tar czf windows.tar.gz out/release/windows
- name: s3-upload
image: plugins/s3
settings:
bucket: bune-city
source: "*.tar.gz"
target: /build/Snootalogue/
access_key:
from_secret: wasabi_access_key
secret_key:
from_secret: wasabi_secret_key
endpoint: https://s3.us-east-1.wasabisys.com
strip-prefix: /out/release/