Rsclub2_2
75d83f8a80
Some checks reported errors
continuous-integration/drone/push Build encountered an error
41 lines
762 B
YAML
41 lines
762 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
|
|
privileged: true
|
|
|
|
- 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
|
|
privileged: true
|
|
|
|
# Volumes for Building
|
|
volumes:
|
|
- name: build
|
|
host:
|
|
path: /tmp/debian_build_1 |