use docker images with pre-installed build environment
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8a43e1e45b
commit
aed1ab1ba6
12
.drone.yml
12
.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
|
||||
|
|
Loading…
Reference in New Issue