From 7170c29efe04254518ee2f0cac15139cf08b0056 Mon Sep 17 00:00:00 2001 From: Sam Freund Date: Mon, 20 Oct 2025 23:43:33 -0500 Subject: [PATCH] Version rubik pi image (#2129) --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9df5ad25..0a7c0de07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ concurrency: cancel-in-progress: true env: - IMAGE_VERSION: v2026.0.3 + IMAGE_VERSION: v2026.0.4 jobs: @@ -538,6 +538,12 @@ jobs: wget https://raw.githubusercontent.com/PhotonVision/photon-image-modifier/refs/tags/$IMAGE_VERSION/mount_rubikpi3.sh chmod +x mount_rubikpi3.sh ./mount_rubikpi3.sh https://github.com/PhotonVision/photon-image-modifier/releases/download/$IMAGE_VERSION/photonvision_rubikpi3.tar.xz /tmp/build/scripts/armrunner.sh + - name: Compress image + run: | + new_jar=$(realpath $(find . -name photonvision\*-linuxarm64.jar)) + new_image_name=$(basename "${new_jar/.jar/_rubikpi3.img}") + mv photonvision_rubikpi3 $new_image_name + tar -I 'xz -T0' -cf ${new_image_name}.tar.xz $new_image_name --checkpoint=10000 --checkpoint-action=echo='%T' - uses: actions/upload-artifact@v4 name: Upload image with: