fdghfdgh
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Failing after 5s
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 21:06:55 -07:00
parent fbb495b99b
commit ae5e40e07f

View File

@@ -35,20 +35,32 @@ jobs:
echo "Working dir: $(pwd)" echo "Working dir: $(pwd)"
ls -lah . ls -lah .
- name: Ensure output directory exists - name: Create Docker volume
run: mkdir -p ./output run: docker volume create build_output
- name: Write to output via docker ##############################################################################
- name: Write file using Docker volume
run: | run: |
docker run --rm \ docker run --rm \
-v "$(pwd)/output:/output" \ -v build_output:/output \
debian \ debian \
bash -c "echo test > /output/hello.txt" bash -c "echo hello-world > /output/hello.txt"
- name: Try to read from output on host - name: Extract file from volume
run: | run: |
echo "Expecting /mnt/unraid_output/act_runner_output/hello.txt..." docker run --rm \
ls -lh "${{ env.OUTPUT_DIR }}" -v build_output:/output \
-v "$(pwd):/workspace" \
debian \
bash -c "cp /output/hello.txt /workspace/output.txt"
- name: Read output.txt
run: |
ls -lh
cat output.txt
##############################################################################
- name: Debug mount inside container - name: Debug mount inside container
run: | run: |