27 lines
571 B
YAML
27 lines
571 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
# Debian Package building steps
|
|
steps:
|
|
- name: debian-package-builder
|
|
image: debian:bullseye
|
|
volumes:
|
|
- name: builded-files
|
|
path: /output_build
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y debhelper dh-make
|
|
- dh_builddeb --destdir=/output_build
|
|
steps:
|
|
- name: gitea_release
|
|
image: plugins/gitea-release
|
|
volumes:
|
|
- name: builded-files
|
|
path: /output_build
|
|
settings:
|
|
api_key:
|
|
from_secret: gitea_api_key
|
|
base_url: https://git.wagnersnetz.de
|
|
files: /build/* |