win-test-wrapper-beta-test/.drone.yml

32 lines
618 B
YAML
Raw Normal View History

2023-09-30 03:28:12 +02:00
---
kind: pipeline
type: docker
name: default
2023-09-30 05:06:31 +02:00
# Debian Package building steps
2023-09-30 03:28:12 +02:00
steps:
- name: debian-package-builder
image: debian:bullseye
2023-09-30 03:28:12 +02:00
commands:
- apt-get update
- apt-get install -y debhelper dh-make
- mkdir -p dist
- dh_builddeb --destdir=dist
when:
event:
- push
- commit
2023-09-30 07:38:22 +02:00
2023-09-30 23:33:42 +02:00
- name: attach-to-release
2023-09-30 07:30:10 +02:00
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.wagnersnetz.de
files: dist/*
2023-09-30 23:33:42 +02:00
target:
repository: Rsclub2_2/win-test-wrapper-beta-test
tag: ${DRONE_TAG}
when:
event:
- tag