diff --git a/.drone.yml b/.drone.yml index 02ae07f..a36a70a 100644 --- a/.drone.yml +++ b/.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