fix: always try to build docker images

This commit is contained in:
Asger Gitz-Johansen 2024-08-19 20:33:35 +02:00
parent 1bdf748ec5
commit 1d18e15b19
3 changed files with 4 additions and 13 deletions

3
debian/control vendored
View File

@ -5,15 +5,12 @@ Maintainer: Asger Gitz-Johansen <asger.gitz@hotmail.com>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
uuid-dev,
uuid,
Standards-Version: 4.6.2
Homepage: https://git.gtz.dk/agj/sci
Package: sci
Architecture: any
Depends:
libuuid,
${shlibs:Depends},
${misc:Depends},
Description: simple continuous integration (ci) system

View File

@ -1,10 +1,7 @@
#!/bin/bash
archbuilder_image=$(docker images | grep archbuilder)
set -e
if [ -z $archbuilder_image ]; then
echo "building archbuilder image..."
docker build -t archbuilder -f arch-builder.dockerfile .
fi
echo "building source dist..."
make dist

View File

@ -1,11 +1,8 @@
#!/bin/bash
# TODO: SCI_VERSION env var
debbuilder_image=$(docker images | grep debbuilder)
set -e
if [ -z $debbuilder_image ]; then
echo "building debbuilder image..."
docker build -t debbuilder -f deb-builder.dockerfile .
fi
echo "building source dist..."
make dist