tinc/.drone.yml
lagertonne 9d9aa25f12
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is failing
Only build on nll-branch
2022-04-23 09:28:09 +02:00

43 lines
1.3 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 git
- git clean -f -d -x
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
- dpkg-buildpackage -b -uc
- mkdir -p /drone/deb_files/bullseye/
- cp ../tinc*.deb /drone/deb_files/bullseye/
- find ..
- name: Build Buster
image: debian:buster
commands:
- apt update
- apt -y upgrade
- apt -y install --no-install-recommends build-essential equivs devscripts git
- git clean -f -d -x
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
- dpkg-buildpackage -b -uc
- mkdir -p /drone/deb_files/buster/
- cp ../tinc*.deb /drone/deb_files/buster/
- find ..
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_KEY
base_url: https://git.neulandlabor.de/
files:
- /drone/deb_files/buster/*.deb
- /drone/deb_files/bullseye/*.deb
when:
event: tag
branch:
- nll_*