This commit is contained in:
parent
f2d057df15
commit
5bb9f19889
1 changed files with 27 additions and 11 deletions
38
.drone.yml
38
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue