Add Debian packages, support Ubuntu 22 via tomli
Some checks failed
CI / test (push) Successful in 46s
Trivy / test (push) Waiting to run
Lint / test (push) Has been cancelled

This commit is contained in:
Miguel Jacq 2025-12-15 15:01:28 +11:00
parent b71f41212a
commit 9f9301e17e
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
12 changed files with 305 additions and 720 deletions

View file

@ -15,3 +15,30 @@ mv JinjaTurtle.AppImage dist/
# Sign packages
for file in `ls -1 dist/`; do qubes-gpg-client --batch --armor --detach-sign dist/$file > dist/$file.asc; done
# Deb stuff
DISTS=(
debian:bookworm
debian:trixie
ubuntu:jammy
ubuntu:noble
)
#for dist in ${DISTS[@]}; do
# release=$(echo ${dist} | cut -d: -f2)
# mkdir -p dist/${release}
#
# docker build -f Dockerfile.debbuild -t jinjaturtle-deb:${release} \
# --no-cache \
# --progress=plain \
# --build-arg BASE_IMAGE=${dist} .
#
# docker run --rm \
# -e SUITE="${release}" \
# -v "$PWD":/src \
# -v "$PWD/dist/${release}":/out \
# jinjaturtle-deb:${release}
#
# debfile=$(ls -1 dist/${release}/*.deb)
# reprepro -b /home/user/git/repo includedeb "${release}" "${debfile}"
#done