tinc/.drone.yml
lagertonne 5bb9f19889
Some checks failed
continuous-integration/drone/push Build is failing
also build buster package
2022-04-22 22:38:18 +02:00

40 lines
1.2 KiB
YAML

kind: pipeline
name: default
steps:
- name: Build Bullseye
image: debian:bullseye
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: 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