also build buster package
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
lagertonne 2022-04-22 22:38:18 +02:00
parent f2d057df15
commit 5bb9f19889

View file

@ -2,7 +2,7 @@ kind: pipeline
name: default
steps:
- name: Build
- name: Build Bullseye
image: debian:bullseye
commands:
- apt update
@ -11,14 +11,30 @@ steps:
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
- dpkg-buildpackage -b -uc
- mkdir debian/release
- cp ../tinc*.deb
- cp ../tinc*.deb debian/release/
- find ..
#- 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
- name: Build Buster
image: debian:buster
commands:
- apt update
- apt -y upgrade
- apt -y install --no-install-recommends build-essential equivs devscripts
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
- dpkg-buildpackage -b -uc
- mkdir debian/release
- cp ../tinc*.deb debian/release/
- find ..
- 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
depends_on:
- Build Bullseye
- Build Buster