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 Rules-Requires-Root: no
Build-Depends: Build-Depends:
debhelper-compat (= 13), debhelper-compat (= 13),
uuid-dev,
uuid,
Standards-Version: 4.6.2 Standards-Version: 4.6.2
Homepage: https://git.gtz.dk/agj/sci Homepage: https://git.gtz.dk/agj/sci
Package: sci Package: sci
Architecture: any Architecture: any
Depends: Depends:
libuuid,
${shlibs:Depends}, ${shlibs:Depends},
${misc:Depends}, ${misc:Depends},
Description: simple continuous integration (ci) system Description: simple continuous integration (ci) system

View File

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

View File

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