38 lines
697 B
YAML
38 lines
697 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
# Debian Package building steps
|
|
steps:
|
|
- name: debian-package-builder
|
|
volumes:
|
|
- name: cache
|
|
path: /dist
|
|
image: debian:bullseye
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y debhelper dh-make
|
|
- dh_builddeb --destdir=/dist
|
|
|
|
- name: attach-to-release
|
|
image: plugins/gitea-release
|
|
volumes:
|
|
- name: build
|
|
path: /dist
|
|
settings:
|
|
api_key:
|
|
from_secret: gitea_api_key
|
|
base_url: https://git.wagnersnetz.de
|
|
files: /dist/*
|
|
target:
|
|
repository: Rsclub2_2/win-test-wrapper-beta-test
|
|
tag: ${DRONE_TAG}
|
|
when:
|
|
event:
|
|
- tag
|
|
|
|
# Volumes for Building
|
|
volumes:
|
|
- name: build
|
|
temp: {} |