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
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user