Skip to content

Commit 7170c29

Browse files
authored
Version rubik pi image (#2129)
1 parent 4f549ba commit 7170c29

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
IMAGE_VERSION: v2026.0.3
13+
IMAGE_VERSION: v2026.0.4
1414

1515
jobs:
1616

@@ -538,6 +538,12 @@ jobs:
538538
wget https://raw.githubusercontent.com/PhotonVision/photon-image-modifier/refs/tags/$IMAGE_VERSION/mount_rubikpi3.sh
539539
chmod +x mount_rubikpi3.sh
540540
./mount_rubikpi3.sh https://github.com/PhotonVision/photon-image-modifier/releases/download/$IMAGE_VERSION/photonvision_rubikpi3.tar.xz /tmp/build/scripts/armrunner.sh
541+
- name: Compress image
542+
run: |
543+
new_jar=$(realpath $(find . -name photonvision\*-linuxarm64.jar))
544+
new_image_name=$(basename "${new_jar/.jar/_rubikpi3.img}")
545+
mv photonvision_rubikpi3 $new_image_name
546+
tar -I 'xz -T0' -cf ${new_image_name}.tar.xz $new_image_name --checkpoint=10000 --checkpoint-action=echo='%T'
541547
- uses: actions/upload-artifact@v4
542548
name: Upload image
543549
with:

0 commit comments

Comments
 (0)