tinc/.drone.yml
lagertonne a34017dcd0
All checks were successful
continuous-integration/drone/push Build is passing
debug release files
2022-04-23 10:19:29 +02:00

51 lines
1.4 KiB
YAML

kind: pipeline
name: default
steps:
- name: Build Bullseye
image: debian:bullseye
volumes:
- name: finished_files
path: /deb_files
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 /deb_files/bullseye/
- cp ../tinc*.deb /deb_files/bullseye/
- find /deb_files/
- name: Build Buster
image: debian:buster
volumes:
- name: finished_files
path: /deb_files
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 /deb_files/buster/
- cp ../tinc*.deb /deb_files/buster/
- find /deb_files/
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_KEY
base_url: https://git.neulandlabor.de/
files:
- /deb_files/buster/*.deb
- /deb_files/bullseye/*.deb
when:
event: tag
volumes:
- name: finished_files
temp: {}