2021-12-30 19:50:35 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2021-12-30 19:55:54 +00:00
|
|
|
- name: Build
|
|
|
|
image: debian:bullseye
|
|
|
|
commands:
|
|
|
|
- apt update
|
2021-12-30 19:56:53 +00:00
|
|
|
- apt -y upgrade
|
2021-12-30 20:11:35 +00:00
|
|
|
- apt -y install --no-install-recommends build-essential equivs devscripts
|
2022-01-01 09:29:38 +00:00
|
|
|
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
|
2022-01-01 09:32:41 +00:00
|
|
|
- dpkg-buildpackage -b -uc
|
2022-01-01 15:41:27 +00:00
|
|
|
- mkdir debian/release/
|
|
|
|
- cp ../ifupdown-ng*.deb debian/release/
|
2022-01-01 10:39:07 +00:00
|
|
|
- find ..
|
2022-01-01 14:36:13 +00:00
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: GITEA_KEY
|
|
|
|
base_url: https://git.neulandlabor.de/
|
|
|
|
files: debian/release/*
|
|
|
|
when:
|
|
|
|
event: tag
|