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
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:
@@ -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
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +0,0 @@
|
||||
b308db0fd18ef00f33d7ba7573b1eca5fd785e50739f3de07ad14a7eb35594f4 bookworm/debian-bookworm.tar.bz2
|
||||
a3b40dc56eec450a5a64ee3e93eeb52aecc0de9966dbbfb6c059a0ae39b7d747 bullseye/debian-bullseye.tar.bz2
|
||||
b9f59ef623d846f3a34ab744ff5887917968db773fe90a419b42ead2739e49be buster/debian-buster.tar.bz2
|
||||
d859d1e637512931e7d67488bc179776789eda809e9ddcafd421479df4fb2a61 docker-build/debian-docker-build.tar.bz2
|
||||
Reference in New Issue
Block a user