test
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-rootfs-archives (push) Successful in 7m52s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / push-archives-to-repo (push) Failing after 30s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped

This commit is contained in:
2025-07-07 11:56:14 -07:00
parent 7ffe8c2d6b
commit 478fb0fc3a
6 changed files with 13 additions and 15 deletions

View File

@@ -33,17 +33,19 @@ jobs:
echo "[INFO] Building Debian $version rootfs..."
docker build --build-arg VERSION=$version -t fithwum/debian-$version-base .
if [ "$version" == "trixie" ]; then
mkdir -p "$(pwd)/trixie"
docker run --rm --privileged \
-v "$(pwd)/trixie":/output \
fithwum/debian-$version-base \
bash base-image-script/debian-${version}_pt1.sh
else
docker run --rm --privileged \
-v "$(pwd)":/output \
fithwum/debian-$version-base \
bash base-image-script/debian-${version}_pt1.sh
docker run --rm --privileged \
-v "$(pwd)":/output \
fithwum/debian-$version-base \
bash base-image-script/debian-${version}_pt1.sh
# Auto-detect output tarball and move it if needed
expected_path="./$version/debian-$version.tar.bz2"
fallback_path="./debian-$version.tar.bz2"
if [ -f "$fallback_path" ] && [ ! -f "$expected_path" ]; then
mkdir -p "./$version"
mv "$fallback_path" "$expected_path"
echo "[INFO] Moved fallback tarball to expected path: $expected_path"
fi
done