diff --git a/.github/workflows/rpi_aarch64_image_builder.yml b/.github/workflows/rpi_aarch64_image_builder.yml index fd7f8a3..f995b55 100644 --- a/.github/workflows/rpi_aarch64_image_builder.yml +++ b/.github/workflows/rpi_aarch64_image_builder.yml @@ -7,7 +7,6 @@ jobs: name: Build Archlinux aarch64 Raspberry Pi Image env: INSTALL_REQUIREMENTS: false - LOOP_IMAGE: archlinux-aarch64-rpi.img LOOP_IMAGE_SIZE: 4G DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} TRANSFERSH_URL: ${{ secrets.TRANSFERSH_URL }} @@ -30,7 +29,7 @@ jobs: run: | echo "RPI_HOSTNAME=sz-arch-${{ env.ARM_VERSION }}-rpi${{ env.RPI_MODEL }}" >> $GITHUB_ENV echo "WORKDIR_BASE=${{ github.workspace }}/run-${{ github.run_id }}" >> $GITHUB_ENV - echo "LOOP_IMAGE_PATH=${{ github.workspace }}/run-${{ github.run_id }}/sz-arch-${{ env.ARM_VERSION }}-rpi${{ env.RPI_MODEL }}.img" >> $GITHUB_ENV + echo "LOOP_IMAGE_PATH=${{ github.workspace }}/run-${{ github.run_id }}/sz-arch-${{ env.ARM_VERSION }}-rpi${{ env.RPI_MODEL }}_v$(git rev-parse --short HEAD).img" >> $GITHUB_ENV echo "DISTRO=$(cat /etc/*-release | grep ^ID= | cut -d'=' -f2)" >> $GITHUB_ENV echo "ARCH_AARCH64_IMG_URL=http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-${{ env.ARM_VERSION }}-latest.tar.gz" >> $GITHUB_ENV echo "ARCH_AARCH64_IMG_URL_MD5=http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-${{ env.ARM_VERSION }}-latest.tar.gz.md5" >> $GITHUB_ENV