Only build on nll-branch
This commit is contained in:
parent
d7d4eb52c2
commit
c028ea4962
1 changed files with 17 additions and 6 deletions
23
.drone.yml
23
.drone.yml
|
@ -4,6 +4,9 @@ name: default
|
|||
steps:
|
||||
- name: Build Bullseye
|
||||
image: debian:bullseye
|
||||
volumes:
|
||||
- name: finished_files
|
||||
path: /deb_files
|
||||
commands:
|
||||
- apt update
|
||||
- apt -y upgrade
|
||||
|
@ -11,12 +14,15 @@ steps:
|
|||
- 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/
|
||||
- mkdir -p /deb_files/bullseye/
|
||||
- cp ../tinc*.deb /deb_files/bullseye/
|
||||
- find ..
|
||||
|
||||
- name: Build Buster
|
||||
image: debian:buster
|
||||
volumes:
|
||||
- name: finished_files
|
||||
path: /deb_files
|
||||
commands:
|
||||
- apt update
|
||||
- apt -y upgrade
|
||||
|
@ -24,8 +30,8 @@ steps:
|
|||
- 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/
|
||||
- mkdir -p /deb_files/buster/
|
||||
- cp ../tinc*.deb /deb_files/buster/
|
||||
- find ..
|
||||
|
||||
- name: gitea_release
|
||||
|
@ -35,7 +41,12 @@ steps:
|
|||
from_secret: GITEA_KEY
|
||||
base_url: https://git.neulandlabor.de/
|
||||
files:
|
||||
- /drone/deb_files/buster/*.deb
|
||||
- /drone/deb_files/bullseye/*.deb
|
||||
- /deb_files/buster/*.deb
|
||||
- /deb_files/bullseye/*.deb
|
||||
when:
|
||||
event: tag
|
||||
branch:
|
||||
- nll_*
|
||||
volumes:
|
||||
- name: finished_files
|
||||
temp: {}
|
||||
|
|
Loading…
Reference in a new issue