Tobias Manske
af073e0498
All checks were successful
continuous-integration/drone/tag Build is passing
Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
32 lines
570 B
YAML
32 lines
570 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: Build Anki Plugin
|
|
|
|
trigger:
|
|
event:
|
|
include:
|
|
- tag
|
|
|
|
steps:
|
|
- name: Build Archive
|
|
image: debian:bookworm
|
|
pull: always
|
|
commands:
|
|
- apt-get update && apt-get install -y zip
|
|
- ./build.sh
|
|
|
|
- name: Upload Artifact to Gitea
|
|
depends_on:
|
|
- Build Archive
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key:
|
|
from_secret: gitea_api_token
|
|
checksum: sha256
|
|
base_url: https://git.tobiasmanske.de
|
|
files: editor-preview.ankiaddon
|
|
|
|
image_pull_secrets:
|
|
- registry
|