From aed1ab1ba67fe0217c71c51c11492c84e458e5c9 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Thu, 16 Sep 2021 23:14:27 +0200 Subject: [PATCH] use docker images with pre-installed build environment --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 708aa2c..ce464df 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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