diff --git a/.gitea/workflows/base-build.yml b/.gitea/workflows/base-build.yml index e3b4e14..e87e5c8 100644 --- a/.gitea/workflows/base-build.yml +++ b/.gitea/workflows/base-build.yml @@ -34,12 +34,6 @@ jobs: fithwum/debian-bullseye-base \ bash -c "ls -lah /output" - - - name: Prepare output directory - run: | - OUTPUT_DIR="/mnt/host-output/${GITEA_REPOSITORY##*/}/output" - mkdir -p "$OUTPUT_DIR" - - name: Check host output run: | ls -lah /mnt/host-output @@ -55,7 +49,8 @@ jobs: - name: Build all Debian rootfs versions sequentially run: | versions=($VERSIONS) - OUTPUT_DIR="/mnt/host-output/${GITEA_REPOSITORY##*/}/output" + export OUTPUT_DIR="/mnt/host-output" + mkdir -p "$OUTPUT_DIR" for version in "${versions[@]}"; do echo "[INFO] Building $version..."