Skip to content

Commit 29440c3

Browse files
committed
CI (github-hosted): Update Kitten 10 image filename
1 parent 1656fa0 commit 29440c3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build-rpi-github-hosted.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,15 @@ jobs:
154154
echo "rpi_image_resultdir=${rpi_image_resultdir}" >> $GITHUB_ENV
155155
156156
# Image file base name
157-
image_name="AlmaLinux-${{ inputs.version_major }}-RaspberryPi-${{ matrix.partitioning }}-${{ env.full_release_version }}-${date_stamp}.aarch64"
158-
[ "${{ matrix.image_types }}" = "gnome" ] && image_name="AlmaLinux-${{ inputs.version_major }}-RaspberryPi-GNOME-${{ matrix.partitioning }}-${{ env.full_release_version }}-${date_stamp}.aarch64"
157+
if [ "x${{ env.kitten }}" = "x" ]; then
158+
image_name="AlmaLinux-${{ env.version_major }}-RaspberryPi-${{ matrix.partitioning }}-${{ env.full_release_version }}-${date_stamp}.aarch64"
159+
[ "${{ matrix.image_types }}" = "gnome" ] && image_name="AlmaLinux-${{ env.version_major }}-RaspberryPi-GNOME-${{ matrix.partitioning }}-${{ env.full_release_version }}-${date_stamp}.aarch64"
160+
else
161+
# Kitten
162+
image_name="AlmaLinux-Kitten-RaspberryPi-${{ matrix.partitioning }}-${{ env.version_major }}-${date_stamp}.aarch64"
163+
# Kitten GNOME
164+
[ "${{ matrix.image_types }}" = "gnome" ] && image_name="AlmaLinux-Kitten-RaspberryPi-GNOME-${{ matrix.partitioning }}-${{ env.version_major }}-${date_stamp}.aarch64"
165+
fi
159166
echo "image_name=${image_name}" >> $GITHUB_ENV
160167
161168
- name: Install KVM and libvirt packages

0 commit comments

Comments
 (0)