1
0
Fork 0

use docker images with pre-installed build environment
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus 2021-09-16 23:14:27 +02:00
parent 8a43e1e45b
commit aed1ab1ba6
1 changed files with 6 additions and 6 deletions

View File

@ -13,10 +13,10 @@ steps:
commands:
- git clone https://github.com/moepman/wgskex.git .
- name: build
image: debian:buster-slim
image: moepman/debbuild:buster
commands:
- apt update -qq -y
- apt install -qq -y build-essential debhelper devscripts dh-virtualenv python3-dev python3-pip python3-setuptools python3-venv
- apt install -qq -y dh-virtualenv git python3-pip python3-setuptools python3-venv
- sed "s/#VERSION/$(git describe --tags)/g;s/#DATE/$(date -R)/g" debian/changelog.template > debian/changelog
- dpkg-buildpackage -us -uc -b
- mkdir release
@ -55,10 +55,10 @@ steps:
commands:
- git clone https://github.com/moepman/wgskex.git .
- name: build
image: debian:bullseye-slim
image: moepman/debbuild:bullseye
commands:
- apt update -qq -y
- apt install -qq -y build-essential debhelper devscripts dh-virtualenv python3-venv
- apt install -qq -y dh-virtualenv git python3-pip python3-setuptools python3-venv
- sed "s/#VERSION/$(git describe --tags)/g;s/#DATE/$(date -R)/g" debian/changelog.template > debian/changelog
- dpkg-buildpackage -us -uc -b
- mkdir release
@ -97,10 +97,10 @@ steps:
commands:
- git clone --depth 1 --branch ${DRONE_TAG} https://github.com/moepman/wgskex.git .
- name: build
image: debian:bullseye-slim
image: moepman/debbuild:bullseye
commands:
- apt update -qq -y
- apt install -qq -y build-essential debhelper devscripts dh-virtualenv python3-venv
- apt install -qq -y dh-virtualenv git python3-pip python3-setuptools python3-venv
- sed "s/#VERSION/${DRONE_TAG}/g;s/#DATE/$(date -R)/g" debian/changelog.template > debian/changelog
- dpkg-buildpackage -us -uc -b
- mkdir release