sdfhsdgfhfg
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-rootfs-archives (push) Failing after 6m44s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / push-archives-to-repo (push) Has been skipped
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-08 15:03:09 -07:00
parent de0836640d
commit bb6c85122b

View File

@@ -18,8 +18,8 @@ env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
VERSIONS: "buster bullseye bookworm" VERSIONS: "buster bullseye bookworm"
# OUTPUT_DIR: /mnt/unraid_output/act_runner_output OUTPUT_DIR: /mnt/unraid_output/act_runner_output
OUTPUT_DIR: /output # OUTPUT_DIR: /output
jobs: jobs:
build-rootfs-archives: build-rootfs-archives:
@@ -63,33 +63,28 @@ jobs:
echo "[INFO] Building $version..." echo "[INFO] Building $version..."
docker build --build-arg VERSION=$version -t fithwum/debian-$version-base . docker build --build-arg VERSION=$version -t fithwum/debian-$version-base .
docker run --rm --privileged \
-v "${{ env.OUTPUT_DIR }}:/output" \
-e VERSION="$version" \
fithwum/debian-$version-base \
bash -eux -c '
echo "[DEBUG] Inside container, version: $VERSION"
echo "[DEBUG] Output dir contents BEFORE:"
ls -lah /output
echo "[DEBUG] Running bootstrap-rootfs.sh"
/scripts/bootstrap-rootfs.sh "$VERSION"
echo "[DEBUG] Output dir contents AFTER:"
find /output
'
# docker run --rm --privileged \ # docker run --rm --privileged \
# -v "${{ env.OUTPUT_DIR }}:/output" \ # -v "${{ env.OUTPUT_DIR }}:/output" \
# -e VERSION="$version" \ # -e VERSION="$version" \
# fithwum/debian-$version-base \ # fithwum/debian-$version-base \
# bash -c "ls -lh /output; ls -lh /; ls -lh /builder; /scripts/bootstrap-rootfs.sh \"$version\"" # bash -eux -c '
done # echo "[DEBUG] Inside container, version: $VERSION"
# echo "[DEBUG] Output dir contents BEFORE:"
# ls -lah /output
- name: Debug Output # echo "[DEBUG] Running bootstrap-rootfs.sh"
run: | # /scripts/bootstrap-rootfs.sh "$VERSION"
echo "Inside container:"
ls -lah /output # echo "[DEBUG] Output dir contents AFTER:"
# find /output
# '
docker run --rm --privileged \
-v "${{ env.OUTPUT_DIR }}:/output" \
-e VERSION="$version" \
fithwum/debian-$version-base \
bash -c "ls -lh /output; ls -lh /; ls -lh /builder; /scripts/bootstrap-rootfs.sh \"$version\""
done
- name: Validate that archives exist for each version - name: Validate that archives exist for each version
run: | run: |