This commit is contained in:
parent
ce9368f414
commit
5a8168ab4c
1 changed files with 18 additions and 0 deletions
18
.drone.yml
18
.drone.yml
|
@ -36,6 +36,23 @@ steps:
|
|||
- cp ../tinc*.deb /deb_files/buster/
|
||||
- find /deb_files/
|
||||
|
||||
- name: Build Ubuntu Focal
|
||||
image: ubuntu:focal
|
||||
volumes:
|
||||
- name: finished_files
|
||||
path: /deb_files
|
||||
commands:
|
||||
- apt update
|
||||
- apt -y upgrade
|
||||
- apt -y install --no-install-recommends build-essential equivs devscripts git rename
|
||||
- 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
|
||||
- rename 's/\.deb/_focal\.deb/' ../*.deb
|
||||
- mkdir -p /deb_files/focal/
|
||||
- cp ../tinc*.deb /deb_files/focal/
|
||||
- find /deb_files/
|
||||
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
volumes:
|
||||
|
@ -48,6 +65,7 @@ steps:
|
|||
files:
|
||||
- /deb_files/buster/*
|
||||
- /deb_files/bullseye/*
|
||||
- /deb_files/focal/*
|
||||
when:
|
||||
event: tag
|
||||
|
||||
|
|
Loading…
Reference in a new issue