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 name: default
steps: steps:
- name: Build - name: Build Bullseye
image: debian:bullseye image: debian:bullseye
commands: commands:
- apt update - apt update
@ -11,14 +11,30 @@ steps:
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control - mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
- dpkg-buildpackage -b -uc - dpkg-buildpackage -b -uc
- mkdir debian/release - mkdir debian/release
- cp ../tinc*.deb - cp ../tinc*.deb debian/release/
- find .. - find ..
#- name: gitea_release
# image: plugins/gitea-release - name: Build Buster
# settings: image: debian:buster
# api_key: commands:
# from_secret: GITEA_KEY - apt update
# base_url: https://git.neulandlabor.de/ - apt -y upgrade
# files: debian/release/* - apt -y install --no-install-recommends build-essential equivs devscripts
# when: - mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
# event: tag - 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