drone-configs/fluffychat.yml

46 lines
744 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
trigger:
ref:
exclude:
- refs/pipelines/**
- refs/merge-requests/**
steps:
- name: build
image: garionion/archlinux-flutter
commands:
- sh scripts/build-linux.sh
- name: bundle
image: archlinux:base-devel
commands:
- tar -a -v --zstd -cf fluffychat-linux-x86.tar.zst -C build/linux/x64/release/bundle/ .
when:
ref:
- refs/tags/*
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.entr0py.de
api_key:
from_secret: gitea_token
files:
- fluffychat-linux-x86.tar.zst
#note: CHANGELOG.md
checksum:
- md5
- sha256
when:
ref:
- refs/tags/*
...